mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
ToggleCompositeField variation
This commit is contained in:
parent
29de31052a
commit
71a988843a
@ -147,6 +147,12 @@ class BasicFieldsTestPage extends TestPage {
|
||||
->setMultiple(true)
|
||||
->setSize(3),
|
||||
Object::create('OptionsetField', 'OptionSet', 'OptionSetField', TestCategory::map()),
|
||||
Object::create('ToggleCompositeField', 'ToggleCompositeField', 'ToggleCompositeField', new FieldList(
|
||||
Object::create('TextField', 'ToggleCompositeTextField1'),
|
||||
Object::create('TextField', 'ToggleCompositeTextField2'),
|
||||
Object::create('DropdownField', 'ToggleCompositeDropdownField', 'ToggleCompositeDropdownField', TestCategory::map()),
|
||||
Object::create('TextField', 'ToggleCompositeTextField3')
|
||||
))
|
||||
));
|
||||
|
||||
// All these date/time fields generally have issues saving directly in the CMS
|
||||
@ -189,7 +195,9 @@ class BasicFieldsTestPage extends TestPage {
|
||||
}
|
||||
}
|
||||
|
||||
$blacklist = array('DMYDate', 'Required', 'Validated');
|
||||
$blacklist = array(
|
||||
'DMYDate', 'Required', 'Validated', 'ToggleCompositeField',
|
||||
);
|
||||
|
||||
$tabs = array('Root.Text', 'Root.Numeric', 'Root.Option', 'Root.DateTime', 'Root.File');
|
||||
foreach($tabs as $tab) {
|
||||
@ -264,4 +272,4 @@ class BasicFieldsTestPage_Controller extends TestPage_Controller {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Loading…
Reference in New Issue
Block a user