Skip to content

Commit ceeea7b

Browse files
author
Eugene Tupikov
committed
add missing options to the docs
1 parent 1ba3607 commit ceeea7b

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/configuration.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,15 @@ Default value is `bs`
2525

2626
**removeButtonOptions** _array_: the HTML options for `remove` button. Can contains `class` and `label` keys
2727

28+
**cloneButton** _bool_: whether need to enable clone buttons or not
29+
30+
**cloneButtonOptions** _array_: the HTML options for `remove` button. Can contains `class` and `label` keys
31+
2832
**data** _array_: array of values in case you use widget without model
2933

3034
**models** _array_: the list of models. Required in case you use `TabularInput` widget
3135

32-
**allowEmptyList** _boolean_: whether to allow the empty list
36+
**allowEmptyList** _boolean_: whether to allow the empty list. **Deprecateed** use the `min` option instead
3337

3438
**columnClass** _string_: the name of column class. You can specify your own class to extend base functionality. Defaults to `unclead\multipleinput\MultipleInputColumn` for `MultipleInput` and `unclead\multipleinput\TabularColumn` for `TabularInput`.
3539

@@ -51,8 +55,6 @@ function ($model, $index, $context)
5155

5256
**modelClass** _string_: a class of model which is used to render `TabularInput`. You must specify this property when a list of `models` is empty. If this property is not specified the widget will detect it based on a class of `models`
5357

54-
**cloneButton** _bool_: whether need to enable clone buttons or not
55-
5658
**extraButtons** _string\|\Closure_: the HTML content that will be rendered after the buttons. It can be either string or an anonymous function that returns a string which will be treated as HTML content. It should have the following signature:
5759

5860
```php
@@ -110,7 +112,11 @@ function($data) {}
110112

111113
**tabindex** _integer_: use it to customize a form element `tabindex`
112114

113-
**columnOptions** _array|\Closure_ the HTML attributes for the indivdual table body column. This can be either an array specifying the common HTML attributes for indivdual body column, or an anonymous function that returns an array of the HTML attributes.
115+
**attributeOptions** _array_: client-side options of the attribute, e.g. enableAjaxValidation. You can use this property for custom configuration of the column (attribute). By default, the column will use options which are defined on widget level.
116+
117+
_Supported versions >= 2.1.0
118+
119+
**columnOptions** _array|\Closure_: the HTML attributes for the indivdual table body column. This can be either an array specifying the common HTML attributes for indivdual body column, or an anonymous function that returns an array of the HTML attributes.
114120

115121
It should have the following signature:
116122
```php
@@ -122,7 +128,7 @@ function ($model, $index, $context)
122128

123129
_Supported versions >= 2.18.0_
124130

125-
**inputTemplate** _string_ the template of input for customize view. Defailt is `{input}`.
131+
**inputTemplate** _string_: the template of input for customize view. Defailt is `{input}`.
126132

127133
**Example**
128134

0 commit comments

Comments
 (0)