forked from MapComplete/MapComplete
Feature(distancePicker): revive geographical distance picker
This commit is contained in:
parent
e997653284
commit
5095bffc50
16 changed files with 245 additions and 107 deletions
|
@ -4,7 +4,7 @@ import { Validator } from "../Validator"
|
|||
import { ValidatorType } from "../Validators"
|
||||
|
||||
export default class FloatValidator extends Validator {
|
||||
inputmode: "decimal" = "decimal"
|
||||
inputmode: "decimal" = "decimal" as const
|
||||
|
||||
constructor(name?: ValidatorType, explanation?: string) {
|
||||
super(name ?? "float", explanation ?? "A decimal number", "decimal")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue