mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Only list existing <FormBuilder> data types
This commit is contained in:
parent
3835291cdf
commit
0fe330621c
@ -50,36 +50,6 @@ const fakeInjector = {
|
|||||||
return this.components.TextField;
|
return this.components.TextField;
|
||||||
case 'Hidden':
|
case 'Hidden':
|
||||||
return this.components.HiddenField;
|
return this.components.HiddenField;
|
||||||
case 'Text':
|
|
||||||
// Textarea field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'HTML':
|
|
||||||
// HTML editor field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'Integer':
|
|
||||||
// Numeric field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'Decimal':
|
|
||||||
// Numeric field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'MultiSelect':
|
|
||||||
// Radio field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'SingleSelect':
|
|
||||||
// Dropdown field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'Date':
|
|
||||||
// DateTime field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'DateTime':
|
|
||||||
// DateTime field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'Time':
|
|
||||||
// DateTime field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'Boolean':
|
|
||||||
// Checkbox field (not implemented)
|
|
||||||
return null;
|
|
||||||
case 'Custom':
|
case 'Custom':
|
||||||
return this.components.GridField;
|
return this.components.GridField;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user