All Components

Read-Only MaskedTextBox

By default, the MaskedTextBox is in an active state.

To render the MaskedTextBox into a read-only state, set its readonly property to true.

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

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