mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-29 07:59:31 +02:00
Update 06_Tabbed_Forms.md
Typo. Adding a field to a tab, not from. Thanks.
This commit is contained in:
parent
dca8e2ad52
commit
7c3ba9d4bf
|
@ -19,7 +19,7 @@ name, and normally they all exist under the `Root` [api:TabSet].
|
||||||
display up to two levels of tabs in the interface. If you want to group data further than that, try [api:ToggleField].
|
display up to two levels of tabs in the interface. If you want to group data further than that, try [api:ToggleField].
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Adding a field from a tab.
|
## Adding a field to a tab
|
||||||
|
|
||||||
:::php
|
:::php
|
||||||
$fields->addFieldToTab('Root.Main', new TextField(..));
|
$fields->addFieldToTab('Root.Main', new TextField(..));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user