Skip to content

Commit 8047e31

Browse files
committed
Update read me
1 parent 4769522 commit 8047e31

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,21 @@ This is the contents of the published config file:
2121
```php
2222
return [
2323
'defaults' => [
24-
'inputClass' => '',
25-
'divClass' => 'col-6',
24+
'formClass' => 'd-flex flex-column gap-8',
25+
'rowClass' => 'row gy-8',
26+
'colClass' => 'col-md',
27+
'divClass' => 'form-group has-validation',
28+
'groupClass' => 'd-flex flex-column gap-8',
29+
'inputClass' => 'form-control',
30+
'inputSelectClass' => 'form-select',
31+
'labelClass' => 'form-label',
32+
'fileInputClass' => 'form-input-file',
33+
'fileInputLabelClass' => 'form-label-file',
34+
'checkInputClass' => 'form-check-input',
35+
'checkLabelClass' => 'form-check-label',
36+
'buttonClass' => 'btn btn--primary',
37+
'buttonIcon' => null,
38+
'textareaRows' => 5,
2639
]
2740
];
2841
```

config/livewire-forms.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
return [
44
'defaults' => [
5-
'divClass' => 'form-group has-validation',
5+
'formClass' => 'd-flex flex-column gap-8',
66
'rowClass' => 'row gy-8',
7-
'groupClass' => 'd-flex flex-column gap-8',
87
'colClass' => 'col-md',
9-
'formClass' => 'd-flex flex-column gap-8',
8+
'divClass' => 'form-group has-validation',
9+
'groupClass' => 'd-flex flex-column gap-8',
1010
'inputClass' => 'form-control',
1111
'inputSelectClass' => 'form-select',
1212
'labelClass' => 'form-label',
@@ -16,6 +16,6 @@
1616
'checkLabelClass' => 'form-check-label',
1717
'buttonClass' => 'btn btn--primary',
1818
'buttonIcon' => null,
19-
'textareaRows' => 5
19+
'textareaRows' => 5,
2020
]
2121
];

0 commit comments

Comments
 (0)