@imaginario27/air-ui-ds 1.0.6 → 1.0.8
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.
|
@@ -421,7 +421,15 @@ watch(() => props.modelValue, (newValue) => {
|
|
|
421
421
|
|
|
422
422
|
} else {
|
|
423
423
|
const newSelected = props.options.find(option => option.value === newValue) as SelectOption
|
|
424
|
-
selected.value = newSelected || {
|
|
424
|
+
selected.value = newSelected || {
|
|
425
|
+
text: props.placeholder,
|
|
426
|
+
value: (
|
|
427
|
+
typeof props.modelValue === 'string' ||
|
|
428
|
+
typeof props.modelValue === 'number'
|
|
429
|
+
)
|
|
430
|
+
? props.modelValue
|
|
431
|
+
: ''
|
|
432
|
+
}
|
|
425
433
|
}
|
|
426
434
|
})
|
|
427
435
|
|
package/composables/useForm.ts
CHANGED
package/eslint.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imaginario27/air-ui-ds",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"author": "imaginario27",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://air-ui.netlify.app/",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"playwright-core": "1.55.1",
|
|
51
51
|
"prettier": "3.6.2",
|
|
52
52
|
"ts-node": "10.9.2",
|
|
53
|
-
"typescript": "5.9.
|
|
53
|
+
"typescript": "5.9.3",
|
|
54
54
|
"vitest": "3.2.4"
|
|
55
55
|
}
|
|
56
56
|
}
|