Skip to content

Commit

Permalink
fix(DurationPicker): use correct value for defaultProp maxValue (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas742 authored and MarcusNotheis committed May 20, 2020
1 parent 58628f7 commit c3bb684
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
export const generatedDefaultStory = () => (
<DurationPicker
disabled={boolean('disabled', false)}
maxValue={text('maxValue', '00:00:00')}
maxValue={text('maxValue', '23:59:59')}
readonly={boolean('readonly', false)}
showSeconds={boolean('showSeconds', false)}
value={text('value', '00:00:00')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

exports[`DurationPicker Basic Test (generated) 1`] = `
<ui5-duration-picker
max-value="00:00:00"
value="00:00:00"
value-state="None"
/>
Expand Down
1 change: 0 additions & 1 deletion packages/main/src/webComponents/DurationPicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ DurationPicker.displayName = 'DurationPicker';

DurationPicker.defaultProps = {
disabled: false,
maxValue: '00:00:00',
readonly: false,
showSeconds: false,
value: '00:00:00',
Expand Down

0 comments on commit c3bb684

Please sign in to comment.