We know that is possible to set the width of a input text as number of symbols via the size attribute.
1 <input type="text" size="1" value="123456789"><br/>
2 <input type="text" size="2" value="123456789"><br/>
3 <input type="text" size="3" value="123456789"><br/>
4 <input type="text" size="4" value="123456789"><br/>
Is that possible with the kendo's NumericTextbox (for angular)
I think you could override the size attribute by creating a new directive for the
kendo-numerictextbox
with asize
input where the type is the enumerated kendo values or number. Then you would either set theNumericTextBoxComponent
's size if it is one of t he enumerated kendo values -or- set the native element'ssize
attribute if it is numeric.Here is (untested) code to give you an idea: