@mythpe/quasar-ui-qui 0.4.81 → 0.4.82
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
|
@@ -233,13 +233,13 @@ defineOptions({
|
|
|
233
233
|
<template #control>
|
|
234
234
|
<slot name="control">
|
|
235
235
|
<div
|
|
236
|
-
v-if="!disable && !readonly && !viewMode && !!getPlaceholder && !value"
|
|
236
|
+
v-if="!disable && !readonly && !viewMode && !!getPlaceholder && (!value || value?.length === 0)"
|
|
237
237
|
class="q-placeholder"
|
|
238
238
|
>
|
|
239
239
|
{{ getPlaceholder }}
|
|
240
240
|
</div>
|
|
241
241
|
<template v-else-if="viewMode && viewModeValue">
|
|
242
|
-
<div>{{ viewModeValue?.toString() }}</div>
|
|
242
|
+
<div>{{ viewModeValue?.toString?.() }}</div>
|
|
243
243
|
</template>
|
|
244
244
|
<template v-else>
|
|
245
245
|
<div>
|
|
@@ -247,7 +247,7 @@ defineOptions({
|
|
|
247
247
|
{{ Object.values(value).join(rangeSeparator || pluginOptions.picker?.rangeSeparator || defSeparator) }}
|
|
248
248
|
</template>
|
|
249
249
|
<template v-else>
|
|
250
|
-
{{ value?.toString() }}
|
|
250
|
+
{{ value?.toString?.() }}
|
|
251
251
|
</template>
|
|
252
252
|
</div>
|
|
253
253
|
</template>
|