mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add CSV type to app
This commit is contained in:
@@ -216,6 +216,10 @@ export default defineComponent({
|
||||
text: i18n.t('json'),
|
||||
value: 'json',
|
||||
},
|
||||
{
|
||||
text: i18n.t('csv'),
|
||||
value: 'csv',
|
||||
},
|
||||
{
|
||||
text: i18n.t('uuid'),
|
||||
value: 'uuid',
|
||||
|
||||
@@ -310,6 +310,9 @@ function initLocalStore(
|
||||
case 'json':
|
||||
state.fieldData.meta.special = 'json';
|
||||
break;
|
||||
case 'csv':
|
||||
state.fieldData.meta.special = 'csv';
|
||||
break;
|
||||
case 'boolean':
|
||||
state.fieldData.meta.special = 'boolean';
|
||||
state.fieldData.schema.is_nullable = false;
|
||||
|
||||
Reference in New Issue
Block a user