Bug XF option numeric data type no longer supports decimals if using min/max attributes

There is a bug in this version
X

Xon

Guest
Data type: Numeric allows floatpoint values. But how the input element is implemented doesn't work with decimal values if using min/max values


1739920444742.webp

With the config:
1739920521571.webp

This generates the following HTML:
Code:

<input type="number" pattern="\d*" class="input input--number js-numberBoxTextInput" value="0.4" min="0" step="1" required="required" name="options[svESE_weightReplyCount]" id="_xfUid-22-1739920545">

The issue appears to be min="0" causes a decimal handling to just not...

Read more

Continue reading...