Skip to content

Commit

Permalink
Remove unnecessary getStep for datetime/time condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose4gg authored and gu-stav committed Aug 24, 2022
1 parent 612112e commit 8e5364b
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -3,10 +3,6 @@ const getStep = (type) => {

if (type === 'float' || type === 'decimal') {
step = 0.01;
} else if (type === 'time' || type === 'datetime') {
// Since we cannot set a value that is not in the list of the time picker, we need to set the step to 1
// TODO: Fix the timepicker in order to be able to set any value regardless of the list
step = 1;
} else {
step = 1;
}
Expand Down

0 comments on commit 8e5364b

Please sign in to comment.