diff --git a/projects/demo/src/pages/frameworks/angular/examples/1-nested/component.ts b/projects/demo/src/pages/frameworks/angular/examples/1-nested/component.ts index 769e52d42..485d9be68 100644 --- a/projects/demo/src/pages/frameworks/angular/examples/1-nested/component.ts +++ b/projects/demo/src/pages/frameworks/angular/examples/1-nested/component.ts @@ -14,13 +14,13 @@ import {TuiInputModule} from '@taiga-ui/kit'; export class NestedDocExample1 { protected value = ''; - protected readonly nameMask: MaskitoOptions = { + public readonly nameMask: MaskitoOptions = { mask: /^[a-zA-Z\s]+$/, postprocessors: [ ({value, selection}) => ({value: value.toUpperCase(), selection}), ], }; - protected readonly predicate: MaskitoElementPredicate = element => + public readonly predicate: MaskitoElementPredicate = element => element.querySelector('tui-input input')!; }