fds-vue-core 8.3.1 → 8.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fds-vue-core",
3
- "version": "8.3.1",
3
+ "version": "8.3.2",
4
4
  "description": "FDS Vue Core Component Library",
5
5
  "type": "module",
6
6
  "main": "./dist/fds-vue-core.cjs.js",
@@ -14,7 +14,7 @@ defineOptions({
14
14
  inheritAttrs: false,
15
15
  })
16
16
 
17
- const modelValue = defineModel<string>({ default: '' })
17
+ const modelValue = defineModel<string>()
18
18
 
19
19
  const props = withDefaults(defineProps<FdsInputProps>(), {
20
20
  value: undefined,
@@ -172,7 +172,8 @@ function onNoCountryResults(value: boolean) {
172
172
  @no-country-results="onNoCountryResults"
173
173
  />
174
174
  <FdsInput
175
- v-model="nationalNumber"
175
+ :model-value="nationalNumber"
176
+ @update:model-value="nationalNumber = $event ?? ''"
176
177
  :mask="phoneMask"
177
178
  :mask-options="phoneMaskOptions"
178
179
  :valid="displayValid"
@@ -114,7 +114,8 @@ function handleBlur(ev: FocusEvent) {
114
114
  <template>
115
115
  <div class="w-full">
116
116
  <FdsInput
117
- v-model="modelValue"
117
+ :model-value="modelValue"
118
+ @update:model-value="modelValue = $event ?? ''"
118
119
  :mask="ssnMask"
119
120
  :mask-options="ssnMaskOptions"
120
121
  :label="resolvedLabel"