Skip to content

Commit

Permalink
Merge pull request #87 from indec-it/fix/changeMinuteStepper
Browse files Browse the repository at this point in the history
refactor(datePicker): change minutes stepper
  • Loading branch information
maximilianoforlenza authored Nov 17, 2023
2 parents 3ba4cfd + 92b4930 commit dc86c63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/DatePicker/DatePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function DatePicker({
{isRange && (
<DateTimePickerSelector
type={dateType}
minutesStep={1}
label="Fecha de fin"
value={field.value.end}
onChange={newValue => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function DateTimePickerSelector({type, onChange, value, ...props}) {
return (
<MuiDateTimePicker
{...props}
timeSteps={{minutes: 1}}
ampm={false}
inputFormat="dd/MM/yyyy HH:mm"
onChange={handleChange}
Expand Down

0 comments on commit dc86c63

Please sign in to comment.