Skip to content

Commit

Permalink
feat(input): make prop number typescript save
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek committed Jul 1, 2024
1 parent e924f87 commit 6c52585
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/oruga/src/components/input/Input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ const {
// inject parent field component if used inside one
const { parentField, statusVariant, statusVariantIcon } = injectField();
const vmodel = defineModel<ModelValue>({
default: undefined,
});
const vmodel = defineModel<ModelValue>({ default: undefined });
// if id is given set as `for` property on o-field wrapper
if (props.id) parentField?.value?.setInputId(props.id);
Expand Down

0 comments on commit 6c52585

Please sign in to comment.