Skip to content

Commit

Permalink
refactor(demo-integrations): maxlength poperty type replaced from str…
Browse files Browse the repository at this point in the history
…ing to number
  • Loading branch information
Stanslav Zaytsev committed Feb 26, 2024
1 parent 0edddf8 commit 0a812da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Native attribute maxlength works', () => {
cy.mount(TestInput, {
componentProperties: {
maskitoOptions,
maxLength: '3',
maxLength: 3,
},
});
cy.get('input[maxlength="3"]')
Expand Down Expand Up @@ -97,7 +97,7 @@ describe('Native attribute maxlength works', () => {
cy.mount(TestInput, {
componentProperties: {
maskitoOptions,
maxLength: '6',
maxLength: 6,
},
});
cy.get('input[maxlength="6"]')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class TestInput implements AfterViewInit {
input = new EventEmitter();

@Input()
maxLength?: string;
maxLength?: number;

ngAfterViewInit(): void {
if (this.maxLength) {
Expand Down

0 comments on commit 0a812da

Please sign in to comment.