X

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

  • Thread starter Thread starter Xon
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
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" step="1" causes a decimal handling to...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top Bottom