discourse/app/assets/javascripts/admin/addon/components/site-settings
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
..
bool.hbs FIX: Add checkbox-label class to site setting checkboxes (#24075) 2023-10-25 09:14:27 +10:00
bool.js DEV: Fix "no-setter-return" lint (#24585) 2023-11-28 10:49:49 +01:00
category-list.gjs FIX: Descriptions not showing for some site setting types (#26399) 2024-03-27 15:48:48 +03:00
category.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
category.js
color.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
color.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
compact-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
compact-list.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
description.gjs DEV: Update htmlSafe imports (#26776) 2024-04-27 12:01:58 +02:00
emoji-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
emoji-list.js
enum.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
enum.js
file-size-restriction.gjs FIX: Descriptions not showing for some site setting types (#26399) 2024-03-27 15:48:48 +03:00
file-types-list.gjs FIX: Descriptions not showing for some site setting types (#26399) 2024-03-27 15:48:48 +03:00
group-list.hbs FEATURE: mandatory fields for group site setting (#26612) 2024-04-18 08:53:52 +10:00
group-list.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
host-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
host-list.js
integer.gjs FIX: Do not allow , or . in site setting integer input (#27618) 2024-07-05 10:36:41 +10:00
list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
list.js
named-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
named-list.js
secret-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
secret-list.js
simple-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
simple-list.js
string.hbs FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
string.js
tag-group-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
tag-group-list.js
tag-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
tag-list.js
upload.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
upload.js
uploaded-image-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
uploaded-image-list.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
url-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
url-list.js
value-list.hbs UX: Display setting description for objects typed theme setting (#26152) 2024-03-13 12:38:21 +08:00
value-list.js