discourse/app/assets/javascripts/admin/addon/components/site-settings
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
..
bool.hbs FIX: Add checkbox-label class to site setting checkboxes (#24075) 2023-10-25 09:14:27 +10:00
bool.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
category-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
category-list.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
category.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
category.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
color.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
color.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
compact-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
compact-list.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
emoji-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
emoji-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
enum.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
enum.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
group-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
group-list.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
host-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
host-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
integer.hbs FIX: min/max not passed to NumberField for site settings (#24402) 2023-11-16 12:37:05 +10:00
integer.js DEV: Sanitize integer site settings in front- and back-end (#23816) 2023-10-06 19:21:01 +02:00
list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
named-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
named-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
secret-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
secret-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
simple-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
simple-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
string.hbs DEV: Update JSON Editor to Glimmer and use new modalAPI (#22421) 2023-07-05 10:27:29 +01:00
string.js DEV: Update JSON Editor to Glimmer and use new modalAPI (#22421) 2023-07-05 10:27:29 +01:00
tag-group-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
tag-group-list.js FEATURE: Add new site setting type for tag-group lists (#21993) 2023-06-09 11:02:55 -04:00
tag-list.hbs DEV: remove trivial {{action}} usages (#24278) 2023-11-08 10:53:06 +01:00
tag-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
upload.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
upload.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
uploaded-image-list.hbs DEV: Update DButton uses (#23333) 2023-08-31 11:49:35 +02:00
uploaded-image-list.js DEV: Convert uploaded-image-list modal to component-based API (#23245) 2023-08-25 09:20:14 -05:00
url-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
url-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00
value-list.hbs DEV: Colocate all admin component templates 2023-02-13 11:42:38 +00:00
value-list.js DEV: Convert admin component definitions to native class syntax (#20311) 2023-02-23 15:32:53 +00:00