Skip to content

Commit

Permalink
Merge pull request silverstripe#8440 from creative-commoners/pulls/4.…
Browse files Browse the repository at this point in the history
…3/its-indestruc-tab-le

NEW TabSet react component is no longer structural
  • Loading branch information
robbieaverill authored Oct 9, 2018
2 parents d1281a5 + 90afb20 commit bd6c4fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Forms/TabSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ class TabSet extends CompositeField
*/
protected $schemaComponent = 'Tabs';

/**
* Alter datatype from structural to track the current tab in redux state.
*
* @var string
*/
protected $schemaDataType = FormField::SCHEMA_DATA_TYPE_STRING;

/**
* @var TabSet
*/
Expand Down

0 comments on commit bd6c4fd

Please sign in to comment.