adminforth 1.4.3-next.10 → 1.4.3-next.12
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.
|
@@ -11,12 +11,15 @@
|
|
|
11
11
|
<input
|
|
12
12
|
v-bind="$attrs"
|
|
13
13
|
:type="type"
|
|
14
|
+
@input="$emit('update:modelValue', $event.target.value)"
|
|
15
|
+
:value="modelValue"
|
|
14
16
|
aria-describedby="helper-text-explanation"
|
|
15
17
|
class="inline-flex bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-0 focus:ring-lightPrimary focus:border-lightPrimary dark:focus:ring-darkPrimary dark:focus:border-darkPrimary
|
|
16
18
|
blue-500 focus:border-blue-500 block w-20 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white translate-y-0"
|
|
17
19
|
:class="{'rounded-l-md': !$slots.prefix, 'rounded-r-md': !$slots.suffix}"
|
|
18
20
|
>
|
|
19
21
|
|
|
22
|
+
|
|
20
23
|
<span
|
|
21
24
|
v-if="$slots.suffix"
|
|
22
25
|
class="inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-s-0 border-gray-300 rounded-e-md dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600 ">
|
|
@@ -30,7 +33,9 @@
|
|
|
30
33
|
|
|
31
34
|
const props = defineProps({
|
|
32
35
|
type: String,
|
|
36
|
+
modelValue: String,
|
|
33
37
|
})
|
|
34
38
|
|
|
39
|
+
|
|
35
40
|
</script>
|
|
36
41
|
|