discourse/app/assets/javascripts/admin/addon/mixins
Ted Johansson e113eff663
DEV: Sanitize integer site settings in front- and back-end (#23816)
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.
2023-10-06 19:21:01 +02:00
..
period-computation.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
setting-component.js DEV: Sanitize integer site settings in front- and back-end (#23816) 2023-10-06 19:21:01 +02:00
setting-object.js DEV: Use includes() instead of indexOf() >= 0 (#17553) 2022-07-19 10:27:40 +08:00