@mythpe/quasar-ui-qui 0.2.57 → 0.2.59
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
|
@@ -221,7 +221,8 @@ defineOptions({
|
|
|
221
221
|
hint: hint ? __(hint) : undefined,
|
|
222
222
|
label: hasTopLabel ? undefined : ( getLabel || undefined),
|
|
223
223
|
autocomplete: getAutocompleteAttribute || undefined,
|
|
224
|
-
stackLabel: !0
|
|
224
|
+
stackLabel: !0,
|
|
225
|
+
clearable: viewMode ? !1 : getProp('clearable')
|
|
225
226
|
}"
|
|
226
227
|
>
|
|
227
228
|
<template #control>
|
|
@@ -256,9 +257,20 @@ defineOptions({
|
|
|
256
257
|
v-bind="prependIconProps"
|
|
257
258
|
/>
|
|
258
259
|
</template>
|
|
259
|
-
<template
|
|
260
|
+
<template
|
|
261
|
+
v-else-if="disable && readonly && viewMode"
|
|
262
|
+
#prepend
|
|
263
|
+
>
|
|
264
|
+
<q-icon
|
|
265
|
+
:color="!!errorMessage ? 'negative' : undefined"
|
|
266
|
+
:name="isDate ? 'ion-ios-calendar' : 'ion-ios-clock'"
|
|
267
|
+
/>
|
|
268
|
+
</template>
|
|
269
|
+
<template
|
|
270
|
+
v-if="!disable && !readonly && !viewMode"
|
|
271
|
+
#append
|
|
272
|
+
>
|
|
260
273
|
<q-btn
|
|
261
|
-
v-if="!disable && !readonly && !viewMode"
|
|
262
274
|
:color="!!errorMessage ? 'negative' : undefined"
|
|
263
275
|
:icon="isDate ? 'ion-ios-calendar' : 'ion-ios-clock'"
|
|
264
276
|
flat
|