forked from fa/breadcrumb-the-shire
fix(helpdesk): allow user-select in schema field type validation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@ class SoftwareProductService
|
|||||||
return $this->repository->listWithSchema();
|
return $this->repository->listWithSchema();
|
||||||
}
|
}
|
||||||
|
|
||||||
private const ALLOWED_FIELD_TYPES = ['heading', 'paragraph', 'text', 'textarea', 'number', 'date', 'checkbox', 'select'];
|
private const ALLOWED_FIELD_TYPES = ['heading', 'paragraph', 'text', 'textarea', 'number', 'date', 'checkbox', 'select', 'user-select'];
|
||||||
private const DISPLAY_ONLY_TYPES = ['heading', 'paragraph'];
|
private const DISPLAY_ONLY_TYPES = ['heading', 'paragraph'];
|
||||||
private const MAX_SCHEMA_FIELDS = 50;
|
private const MAX_SCHEMA_FIELDS = 50;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user