Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Set min property on interval input #39

Merged
merged 2 commits into from
Apr 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Interval = () => (
isInvalid,
error: hasError,
}}
inputProps={{ icon: 'clock' }}
inputProps={{ icon: 'clock', min: 1 }}
/>
</EuiFlexItem>
<EuiFlexItem style={{ margin: '0px' }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ exports[`Frequencies renders FrequencyPicker 1`] = `
>
<input
class="euiFieldNumber euiFieldNumber--withIcon"
min="1"
name="period.interval"
type="number"
value="1"
Expand Down Expand Up @@ -380,6 +381,7 @@ exports[`Frequencies renders Interval 1`] = `
>
<input
class="euiFieldNumber euiFieldNumber--withIcon"
min="1"
name="period.interval"
type="number"
value="1"
Expand Down