All Components

Read-Only NumericTextBox

By default, the NumericTextbox is in an active state.

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

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

class AppComponent {
    public decimals: number = 3;
    public value: number = 5;
    public format: string = 'n3';
}
In this article