Skip to content

Commit fb700e4

Browse files
author
Scott Davies
committed
fix attribute step add it dynamically when option step is set greater than 0
1 parent d92b696 commit fb700e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-vanilla/src/controls/TimeControlRenderer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<input
99
:id="control.id + '-input'"
1010
type="time"
11-
step="2"
11+
:step="appliedOptions.step > 0 ? appliedOptions.step : undefined"
1212
:class="styles.control.input"
1313
:value="control.data"
1414
:disabled="!control.enabled"

0 commit comments

Comments
 (0)