Can we use data binding in input field with type number validations

is it possible to set the min and max validation to be dynamic?

You can try prefixing the data-rule-min and data-rule-max attributes with dmx-bind: and using an expressions as value.

i did that and the value is set correctly in the

dmx-bind:data-rule-max

but the validation is not working

got it to work by removing max=""

2 Likes