mirror of
https://github.com/directus/directus.git
synced 2026-02-17 07:31:52 -05:00
fix selecting and custom formats
This commit is contained in:
@@ -34,7 +34,7 @@ export default defineComponent({
|
||||
default: false,
|
||||
},
|
||||
value: {
|
||||
type: [String, Object],
|
||||
type: [String, Object, Array],
|
||||
default: null,
|
||||
},
|
||||
altOptions: {
|
||||
@@ -274,7 +274,7 @@ export default defineComponent({
|
||||
};
|
||||
|
||||
function fillTemplate() {
|
||||
if(props.type === 'json') {
|
||||
if (props.type === 'json') {
|
||||
try {
|
||||
emit('input', JSON.parse(props.template));
|
||||
} catch {}
|
||||
|
||||
Reference in New Issue
Block a user