I have tried with all solution. Actually, i want to add number validation
means anyone will not able to write characters in text-field.
when I see in the browser by inspect element then getting this code.
<input class="input-text" type="text" data-bind="
value: value,
valueUpdate: 'keyup',
hasFocus: focused,
attr: {
name: inputName,
placeholder: placeholder,
'aria-describedby': noticeId,
id: uid,
disabled: disabled
}" name="postcode" placeholder="" aria-describedby="notice-HGXM9L3" id="HGXM9L3">
if we can also add any custom class then we can set validation by jquery. anyone have an idea for that, please.