Keşfet

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

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
4,485
Tepkime puanı
284
Konum
Türkiye
Web sitesi
fivetu.xyz
Data type: Numeric allows floatpoint values. But how the input element is implemented doesn't work with decimal values if using min/max values


Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol


With the config:
Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol


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...

Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol
 

Konu görüntüleyen kullanıcılar

Geri
Üst Alt