mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 07:03:41 +08:00
e113eff663
Currently, if you set an integer site setting in the admin interface and include thousands separators, you will silently configure the wrong value. This PR replaces TextField inputs for integer site settings with NumberField. It also cleans the numeric input of any non-digits in the backend in case any separators make it through. |
||
---|---|---|
.. | ||
period-computation.js | ||
setting-component.js | ||
setting-object.js |