discourse/app/assets/javascripts/admin/addon
Martin Brennan 68a912952c
FIX: min/max not passed to NumberField for site settings (#24402)
When we started using NumberField for integer site settings
in e113eff663, we did not end up
passing down a min/max value for the integer to the field, which
meant that for some fields where negative numbers were allowed
we were not accepting that as valid input.

This commit passes down the min/max options from the server for
integer settings then in turn passes them down to NumberField.

c.f. https://meta.discourse.org/t/delete-user-self-max-post-count-not-accepting-1-to-disable/285162
2023-11-16 12:37:05 +10:00
..
adapters DEV: Migrate remaining admin classes to native syntax (#20717) 2023-03-17 12:25:05 +00:00
components FIX: min/max not passed to NumberField for site settings (#24402) 2023-11-16 12:37:05 +10:00
controllers FEATURE: Add keywords support for site_settings search (#24146) 2023-10-27 15:42:57 -06:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
mixins FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
models DEV: Add support for radar charts when displaying reports. (#24274) 2023-11-08 10:48:12 -03:00
routes FEATURE: Add theme-components route for admin (#24264) 2023-11-08 13:42:27 +10:00
services DEV: Automatically generate all admin links for app for new sidebar (#24175) 2023-11-02 10:34:37 +10:00
templates DEV: add PluginOutlet around the Customize > Themes tab (#24280) 2023-11-07 16:48:30 -05:00