Solved readonly numberbox can be modified by number control

This topic has been solved
S

stromb0li

Guest
If you have a readonly numberbox, the textbox is readonly, but you are still able to increment or decrement the value using the + and - buttons.

HTML:

Code:
<xf:numberbox name="numberbox"
                      placeholder="Number Input"
                      value="1234"
                      min="0"
                      step="1"
                      required="required"
                      readonly="readonly" />

In this case, I can't change 1234, but I can if clicking the + or - buttons...

Read more

Continue reading...