Skip to content

Commit

Permalink
chore(schematics): valid migration for tui-primitive-textfield
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Dec 27, 2024
1 parent 2a86fb0 commit ded1fab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@ export const ATTRS_TO_DIRECTIVE_REPLACE: ReplacementAttributeToDirective[] = [
name: 'TuiAppearance',
moduleSpecifier: '@taiga-ui/core',
},
filterFn: (el) => !['tui-primitive-textfield'].includes(el.tagName),
},
];
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ const TEMPLATE_BEFORE = `
>
{{ fruit }}
</tui-radio-block>
<tui-primitive-textfield [(value)]="value" [pseudoFocus]="pseudoFocus">Type something</tui-primitive-textfield>
`.trim();

const TEMPLATE_AFTER = `
Expand Down Expand Up @@ -138,6 +140,8 @@ const TEMPLATE_AFTER = `
>
{{ fruit }}
</label>
<tui-primitive-textfield [(value)]="value" [pseudoFocus]="pseudoFocus">Type something</tui-primitive-textfield>
`.trim();

describe('ng-update', () => {
Expand Down

0 comments on commit ded1fab

Please sign in to comment.