discourse/app/assets/javascripts/admin/addon
Martin Brennan db993cf8fd
FIX: Do not allow , or . in site setting integer input (#27618)
Followup to e113eff663

We previously sanitized input for integer site settings
on the server side only, which was a bit confusing when
users would enter e.g. 100.5 and end up with 1005, and
not see this reflected in the UI.

Now that we are using native number inputs for these settings,
we can improve the experience a bit by not allowing `.` or `,`
in the input, because it should be whole numbers only, and
add a step size of 1. All other characters are already prevented
in this native number input.
2024-07-05 10:36:41 +10:00
..
adapters FEATURE: Add Filter for Webhook Events by Status (#27332) 2024-06-07 10:26:00 -05:00
components FIX: Do not allow , or . in site setting integer input (#27618) 2024-07-05 10:36:41 +10:00
controllers FEATURE: add Untranslated filter to admin text customization (#27555) 2024-06-24 06:24:06 -03: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: Introduce site settings which require confirmation (#27315) 2024-06-19 16:01:24 +10:00
models UX: Disable plugin list settings button for some plugins (#27124) 2024-05-23 12:04:26 +10:00
routes FEATURE: created edit and delete flags (#27484) 2024-07-03 08:45:37 +10:00
services FIX: More header dropdown admin sidebar fixes (#27241) 2024-05-30 12:55:25 +10:00
templates FEATURE: created edit and delete flags (#27484) 2024-07-03 08:45:37 +10:00