Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-655 (pull request #112)
Browse files Browse the repository at this point in the history
SHIBUI-655 Fixed number step increment

Approved-by: Shibui Jenkins <shibui.jenkins@gmail.com>
Approved-by: Ryan Mathis <rmathis@unicon.net>
  • Loading branch information
rmathis committed Jul 11, 2018
2 parents de40c3f + 80997f9 commit 4923326
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 5 additions & 2 deletions ui/src/app/schema-form/widget/number/number.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
[name]="name"
class="text-widget integer-widget form-control"
[formControl]="control"
[attr.type]="'number'" [attr.min]="schema.minimum" [attr.max]="schema.maximum"
[attr.type]="'number'"
[attr.min]="schema.minimum"
[attr.max]="schema.maximum"
[attr.placeholder]="schema.placeholder"
[attr.maxLength]="schema.maxLength || null"
[attr.minLength]="schema.minLength || null">
[attr.minLength]="schema.minLength || null"
[attr.step]="schema.multipleOf || schema.widget.step">
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
}
},
"required": [
"backingFile"
"backingFile",
"backupFileInitNextRefreshDelay"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
"title": "Refresh Delay Factor",
"description": "A factor applied to the initially determined refresh time in order to determine the next refresh time (typically to ensure refresh takes place prior to the metadata's expiration). Attempts to refresh metadata will generally begin around the product of this number and the maximum refresh delay.",
"type": "number",
"widget": {
"id": "number",
"step": 0.01
},
"placeholder": "Real Number (between 0.0 and 1.0)",
"minimum": 0,
"maximum": 1,
Expand Down

0 comments on commit 4923326

Please sign in to comment.