mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 06:30:50 +08:00
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.
3 lines
93 B
JavaScript
Vendored
3 lines
93 B
JavaScript
Vendored
import Component from "@ember/component";
|
|
|
|
export default class Integer extends Component {}
|