Skip to content

Commit

Permalink
Document NoticeFormNode
Browse files Browse the repository at this point in the history
Closes #408
  • Loading branch information
BurntimeX committed Apr 25, 2024
1 parent de3dff8 commit 8c230e7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/php/api/form_builder/form_fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,19 @@ These methods do **not**, however, restrict the number of text rows that can be
The class implements `IAttributeFormField`, `ICssClassFormField`, `IFilterableSelectionFormField`, and `IImmutableFormField`.


### `NoticeFormNode`

`NoticeFormNode` is a form node that shows a notice without any surrounding HTML code.

Example:

```php
NoticeFormNode::create('name')
->type(NoticeFormNodeType::Success)
->languageItem('name_of_language_item');
```


### `RadioButtonFormField`

`RadioButtonFormField` is a form fields that allows the selection of a single option out of a predefined list of available options using radiobuttons.
Expand Down

0 comments on commit 8c230e7

Please sign in to comment.