feat: create custom object field (#2225)

Closes #2171
This commit is contained in:
Thaïs
2023-10-26 11:34:26 +02:00
committed by GitHub
parent fc4075b372
commit 00dd046798
15 changed files with 91 additions and 193 deletions

View File

@ -26,10 +26,10 @@ export const SettingsNewObject = () => {
const [customFormValues, setCustomFormValues] = useState<{
description?: string;
icon?: string;
icon: string;
labelPlural: string;
labelSingular: string;
}>({ labelPlural: '', labelSingular: '' });
}>({ icon: 'IconPigMoney', labelPlural: '', labelSingular: '' });
const canSave =
selectedObjectType === 'Custom' &&