@fy-/fws-vue 0.1.5 → 0.1.7
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.
|
@@ -162,7 +162,7 @@ defineExpose({ focus, getInputRef });
|
|
|
162
162
|
showTime
|
|
163
163
|
hourFormat="24"
|
|
164
164
|
showIcon
|
|
165
|
-
|
|
165
|
+
dateFormat="dd/mm/yy"
|
|
166
166
|
:aria-describedby="
|
|
167
167
|
help && !['checkbox', 'radio'].includes(type)
|
|
168
168
|
? `${id}-help`
|
|
@@ -190,6 +190,8 @@ defineExpose({ focus, getInputRef });
|
|
|
190
190
|
v-model="model"
|
|
191
191
|
:options="formattedOptions"
|
|
192
192
|
:placeholder="placeholder"
|
|
193
|
+
optionLabel="label"
|
|
194
|
+
optionValue="value"
|
|
193
195
|
:invalid="checkErrors ? true : false"
|
|
194
196
|
:aria-describedby="
|
|
195
197
|
help && !['checkbox', 'radio'].includes(type)
|
|
@@ -204,13 +206,6 @@ defineExpose({ focus, getInputRef });
|
|
|
204
206
|
>
|
|
205
207
|
{{ help }}
|
|
206
208
|
</small>
|
|
207
|
-
<small
|
|
208
|
-
:id="`${id}-error`"
|
|
209
|
-
v-if="checkErrors"
|
|
210
|
-
class="mt-2 text-xs fws-error-text"
|
|
211
|
-
>
|
|
212
|
-
{{ checkErrors }}
|
|
213
|
-
</small>
|
|
214
209
|
</div>
|
|
215
210
|
</template>
|
|
216
211
|
|
|
@@ -235,7 +230,7 @@ defineExpose({ focus, getInputRef });
|
|
|
235
230
|
</label>
|
|
236
231
|
</div>
|
|
237
232
|
</template>
|
|
238
|
-
<p v-if="checkErrors" class="mt-
|
|
233
|
+
<p v-if="checkErrors" class="mt-0.5 text-xs fws-error-text">
|
|
239
234
|
{{ checkErrors }}
|
|
240
235
|
</p>
|
|
241
236
|
|