You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,15 @@ Default value is `bs`
25
25
26
26
**removeButtonOptions**_array_: the HTML options for `remove` button. Can contains `class` and `label` keys
27
27
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
+
28
32
**data**_array_: array of values in case you use widget without model
29
33
30
34
**models**_array_: the list of models. Required in case you use `TabularInput` widget
31
35
32
-
**allowEmptyList**_boolean_: whether to allow the empty list
36
+
**allowEmptyList**_boolean_: whether to allow the empty list. **Deprecateed** use the `min` option instead
33
37
34
38
**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`.
35
39
@@ -51,8 +55,6 @@ function ($model, $index, $context)
51
55
52
56
**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`
53
57
54
-
**cloneButton**_bool_: whether need to enable clone buttons or not
55
-
56
58
**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:
57
59
58
60
```php
@@ -110,7 +112,11 @@ function($data) {}
110
112
111
113
**tabindex**_integer_: use it to customize a form element `tabindex`
112
114
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.
114
120
115
121
It should have the following signature:
116
122
```php
@@ -122,7 +128,7 @@ function ($model, $index, $context)
122
128
123
129
_Supported versions >= 2.18.0_
124
130
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}`.
0 commit comments