JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Text Boxes & Inputs › Numeric text box – max-length › Reply To: Numeric text box – max-length
May 13, 2024 at 7:19 am
#110715
Participant
Tks for your help but I wasn’t able to apply it.
I tried
document.querySelector(‘#e18042434’).input.setAttribute(‘maxlength’, 4) but also
document.querySelector(‘#e18042434 input’).setAttribute(‘maxlength’, 4)
I can use only the id of the smart-numeric-text-box because I’ve many in the same page with different lengths.
Could You suggest the correct expression ?
Tks
-
This reply was modified 3 months, 2 weeks ago by
tbettinazzi@axioma.it.