Skip to content

Commit

Permalink
SHIBUI-1080: Added regex pattern for Refresh Delay Factor (real numbe…
Browse files Browse the repository at this point in the history
…r 0-1) to Local Dynamic, File System providers;
  • Loading branch information
Jodie Muramoto committed Jan 21, 2019
1 parent 1ecda3f commit bfbff51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,16 @@
"refreshDelayFactor": {
"title": "label.refresh-delay-factor",
"description": "tooltip.refresh-delay-factor",
"type": "number",
"type": "string",
"widget": {
"id": "number",
"step": 0.01
},
"placeholder": "label.real-number",
"minimum": 0,
"maximum": 0.99,
"default": null
"maximum": 1,
"default": null,
"pattern": "^([0]*(\\.[0-9]+)?|[0]*\\.[0-9]*[1-9][0-9]*)$"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,16 @@
"refreshDelayFactor": {
"title": "label.refresh-delay-factor",
"description": "tooltip.refresh-delay-factor",
"type": "number",
"type": "string",
"widget": {
"id": "number",
"step": 0.01
},
"placeholder": "label.real-number",
"minimum": 0,
"maximum": 0.99,
"default": null
"maximum": 1,
"default": null,
"pattern": "^([0]*(\\.[0-9]+)?|[0]*\\.[0-9]*[1-9][0-9]*)$"
},
"minCacheDuration": {
"title": "label.min-cache-duration",
Expand Down

0 comments on commit bfbff51

Please sign in to comment.