Skip to content

Commit

Permalink
SHIBUI-1171: Updated Refresh Dely form field to string with option re…
Browse files Browse the repository at this point in the history
…gex match;
  • Loading branch information
Jodie Muramoto committed Jan 23, 2019
1 parent c4043ea commit ce1f0b9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,12 @@
"description": "tooltip.refresh-delay-factor",
"type": "string",
"widget": {
"id": "number",
"step": 0.01
"id": "string",
"help": "message.real-number"
},
"placeholder": "label.real-number",
"minimum": 0,
"maximum": 1,
"default": null,
"pattern": "^([0]*(\\.[0-9]+)?|[0]*\\.[0-9]*[1-9][0-9]*)$"
"default": "",
"pattern": "^(?:([0]*(\\.[0-9]+)?|[0]*\\.[0-9]*[1-9][0-9]*)|)$"
},
"minCacheDuration": {
"title": "label.min-cache-duration",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,11 @@
"description": "tooltip.refresh-delay-factor",
"type": "string",
"widget": {
"id": "number",
"step": 0.01
"id": "string",
"help": "message.real-number"
},
"placeholder": "label.real-number",
"minimum": 0,
"maximum": 1,
"default": null,
"pattern": "^([0]*(\\.[0-9]+)?|[0]*\\.[0-9]*[1-9][0-9]*)$"
"pattern": "^(?:([0]*(\\.[0-9]+)?|[0]*\\.[0-9]*[1-9][0-9]*)|)$"
}
}
}
Expand Down
1 change: 1 addition & 0 deletions backend/src/main/resources/i18n/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ message.name-must-be-unique=Name must be unique.
message.uri-valid-format=URI must be valid format.
message.id-unique=ID must be unique.
message.array-items-must-be-unique=Items in list must be unique.
message.real-number=Optional. If using a value, must be a real number between 0-1.

message.org-name-required=Organization Name is required.
message.org-displayName-required=Organization Name is required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,12 @@
"description": "tooltip.refresh-delay-factor",
"type": "string",
"widget": {
"id": "number",
"step": 0.01
"id": "string",
"help": "message.real-number"
},
"placeholder": "label.real-number",
"minimum": 0,
"maximum": 1,
"default": null,
"pattern": "^([0]*(\\.[0-9]+)?|[0]*\\.[0-9]*[1-9][0-9]*)$"
"default": "",
"pattern": "^(?:([0]*(\\.[0-9]+)?|[0]*\\.[0-9]*[1-9][0-9]*)|)$"
},
"minCacheDuration": {
"title": "label.min-cache-duration",
Expand Down

0 comments on commit ce1f0b9

Please sign in to comment.