Silverstripe version: 4.13
I am extending LeftAndMain to add a custom subscriber management form. I’m creating instances of GridField and then adding them one Tab at a time to a TabSet, but when I load the form, the final (third) tab is always selected. Is there a way to make sure the first tab is selected instead?
$fields = FieldList::create( $root = TabSet::create( 'Root', Tab::create( 'NewSubscribers', 'New', $newGrid ), Tab::create( 'ApprovedSubscribers', 'Approved', $approvedGrid ), Tab::create( 'Unsubscribers', 'Unsubscribed', $unsubGrid ) ) );