main ← dev/fix-min-max-for-number-field
opened 02:08AM - 16 Nov 23 UTC
When we started using NumberField for integer site settings
in e113eff6634c9b39…8b0541ea6a0d1626f6732dcc, 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