All Components

Disabled MaskedTextBox

By default, the MaskedTextBox is enabled.

To disable user interaction with the component, set the disabled property to true.

@Component({
    selector: 'my-app',
    template: `
        <kendo-maskedtextbox
          [value]="value"
          [mask]="mask"
          [disabled]="disabled"
        ></kendo-maskedtextbox>
    `
})

class AppComponent {
    public value: string = "Andrew Green";
    public mask: string = "aaaaaaaaaaaaaaaaa";
    public disabled: boolean = true;
}
In this article