Skip to content

Commit 2e79344

Browse files
committed
Update README.md
1 parent 579e779 commit 2e79344

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,20 @@ use unclead\widgets\MultipleInput;
6969
],
7070
[
7171
'name' => 'day',
72-
'type' => 'dropDownList',
72+
'type' => \kartik\date\DatePicker::className(),
7373
'title' => 'Day',
7474
'value' => function($data) {
7575
return $data['day'];
7676
},
77-
'defaultValue' => 1,
7877
'items' => [
7978
'0' => 'Saturday',
8079
'1' => 'Monday'
8180
],
8281
'options' => [
83-
82+
'pluginOptions' => [
83+
'format' => 'dd.mm.yyyy',
84+
'todayHighlight' => true
85+
]
8486
]
8587
],
8688
[
@@ -92,6 +94,7 @@ use unclead\widgets\MultipleInput;
9294
]
9395
]
9496
]);
97+
?>
9598
```
9699

97100
You can find more detail about this use case [here](docs/multiple_columns.md)

0 commit comments

Comments
 (0)