Skip to content

Commit

Permalink
SHIBUI-1047: (Not Completed) Attempting to fix issue with using a dec…
Browse files Browse the repository at this point in the history
…imal character in input type=number by using Regex as a way of validating 0-1 real number input;
  • Loading branch information
Jodie Muramoto committed Dec 14, 2018
1 parent a8c8109 commit 7356d8c
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,16 @@
"refreshDelayFactor": {
"title": "label.refresh-delay-factor",
"description": "tooltip.refresh-delay-factor",
"type": "number",
"type": "string",
"widget": {
"id": "number",
"step": 0.01
"step": "any"
},
"placeholder": "label.real-number",
"minimum": 0,
"maximum": 1,
"default": null
"default": null,
"pattern": "^(0(\\.\\d+)?|1(\\.0+)?)?$"
}
}
}
Expand Down

0 comments on commit 7356d8c

Please sign in to comment.