Skip to content

Commit c4a1386

Browse files
Apply suggestions from code review
Suggestions from copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cc8a56e commit c4a1386

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/components/src/components/forms/NumberInput/NumberInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default {
4444
},
4545
step: {
4646
default: null,
47-
type: [Number, null] as PropType<number | null>,
47+
type: [Number],
4848
},
4949
/**
5050
* Validity controlled by the parent component to be flexible.

packages/jsonforms/src/uiComponents/NumberControlBase.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const onFocusOut = () => {
9595
:type="type"
9696
:min="minParams?.min"
9797
:max="maxParams?.max"
98-
:step="stepSize"
98+
:step="stepSize.value"
9999
:is-valid
100100
compact
101101
@update:model-value="changeValue"

0 commit comments

Comments
 (0)