Skip to content

Commit 4bed574

Browse files
author
Eugene Tupikov
committed
update README
1 parent d667c42 commit 4bed574

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ use unclead\widgets\MultipleInput;
9191
],
9292
[
9393
'name' => 'priority',
94+
'enableError' => true,
9495
'title' => 'Priority',
9596
'options' => [
9697
'class' => 'input-priority'
@@ -129,6 +130,8 @@ Widget support the following options that are additionally recognized over and a
129130
- `items` *array*: the items for input with type dropDownList, listBox, checkboxList, radioList
130131
- `options` *array*: the HTML attributes for the input
131132
- `headerOptions` *array*: the HTML attributes for the header cell
133+
- `enableError` *boolean*: whether to render inline error for the input. Default to `false`
134+
- `errorOptions` *array*: the HTMl attributes for the error tag
132135

133136
### Input types
134137

0 commit comments

Comments
 (0)