More realistic SelectionGroup config

This commit is contained in:
Ingo Schommer 2016-06-16 14:14:13 +12:00
parent e98f22f400
commit aaa56c176e

View File

@ -160,12 +160,12 @@ class BasicFieldsTestPage extends TestPage
Object::create('SelectionGroup', 'SelectionGroup', array( Object::create('SelectionGroup', 'SelectionGroup', array(
new SelectionGroup_Item( new SelectionGroup_Item(
'one', 'one',
new LiteralField('one', 'one view'), TextField::create('SelectionGroupOne', 'one view'),
'SelectionGroup Option One' 'SelectionGroup Option One'
), ),
new SelectionGroup_Item( new SelectionGroup_Item(
'two', 'two',
new LiteralField('two', 'two view'), TextField::create('SelectionGroupOneTwo', 'two view'),
'SelectionGroup Option Two' 'SelectionGroup Option Two'
) )
)), )),
@ -217,7 +217,7 @@ class BasicFieldsTestPage extends TestPage
} }
$blacklist = array( $blacklist = array(
'DMYDate', 'Required', 'Validated', 'ToggleCompositeField', 'DMYDate', 'Required', 'Validated', 'ToggleCompositeField', 'SelectionGroup'
); );
$tabs = array('Root.Text', 'Root.Numeric', 'Root.Option', 'Root.DateTime', 'Root.File'); $tabs = array('Root.Text', 'Root.Numeric', 'Root.Option', 'Root.DateTime', 'Root.File');