free-fe-core-modules 0.0.31 → 0.0.33
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.
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<span
|
|
26
26
|
v-if="Field.ReadOnly"
|
|
27
27
|
class="col readonly"
|
|
28
|
-
ref="readonlyContent"
|
|
28
|
+
:ref="readonlyContent"
|
|
29
29
|
></span>
|
|
30
30
|
<tiny
|
|
31
31
|
v-if="!Field.ReadOnly"
|
|
@@ -219,7 +219,9 @@ export default defineComponent({
|
|
|
219
219
|
|
|
220
220
|
if (props.Field.ReadOnly) {
|
|
221
221
|
watchEffect(() => {
|
|
222
|
-
readonlyContent.value
|
|
222
|
+
if (readonlyContent.value) {
|
|
223
|
+
readonlyContent.value.innerHTML = fieldData.value;
|
|
224
|
+
}
|
|
223
225
|
});
|
|
224
226
|
}
|
|
225
227
|
|
|
@@ -413,7 +413,7 @@ export default defineComponent({
|
|
|
413
413
|
filterFunc: (val, update) => {
|
|
414
414
|
if (val === '') {
|
|
415
415
|
update(() => {
|
|
416
|
-
localOptions.value =
|
|
416
|
+
localOptions.value = props.Field.Options || [];
|
|
417
417
|
})
|
|
418
418
|
return;
|
|
419
419
|
}
|
|
@@ -421,7 +421,7 @@ export default defineComponent({
|
|
|
421
421
|
update(() => {
|
|
422
422
|
const needle = val.toLowerCase();
|
|
423
423
|
|
|
424
|
-
localOptions.value = (
|
|
424
|
+
localOptions.value = (props.Field.Options || []).filter(opt => {
|
|
425
425
|
return `${opt.Label || opt.Value || opt}`.toLowerCase().indexOf(needle) > -1;
|
|
426
426
|
});
|
|
427
427
|
})
|
package/package.json
CHANGED