Skip to content

Commit

Permalink
SHIBUI-937: Added regex pattern for Refresh Delay Factor (real number…
Browse files Browse the repository at this point in the history
… 0-1) to Dynamic HTTP Metadata Provider;
  • Loading branch information
Jodie Muramoto committed Jan 21, 2019
1 parent e1c9467 commit ef8e4bd
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,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.01,
"maximum": 0.99,
"default": null
"minimum": 0,
"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 ef8e4bd

Please sign in to comment.