mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 15:26:09 +08:00
e113eff663
Currently, if you set an integer site setting in the admin interface and include thousands separators, you will silently configure the wrong value. This PR replaces TextField inputs for integer site settings with NumberField. It also cleans the numeric input of any non-digits in the backend in case any separators make it through.
4 lines
93 B
JavaScript
4 lines
93 B
JavaScript
import Component from "@ember/component";
|
|
|
|
export default class Integer extends Component {}
|