Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-1080 (pull request #272)
Browse files Browse the repository at this point in the history
SHIBUI-1080: Added regex pattern for Refresh Delay Factor (real number 0-1) to Local Dynamic, File System providers;

Approved-by: Ryan Mathis <rmathis@unicon.net>
  • Loading branch information
Jodie Muramoto authored and rmathis committed Jan 21, 2019
2 parents 942bb56 + bfbff51 commit e1c9467
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 e1c9467

Please sign in to comment.