Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Commit a77e005

Browse files
committed
Update README.md
1 parent 091f45b commit a77e005

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,17 @@ This will result in the following HTML:
223223
<input name="title[en]" value="Laravel: Up & Running" />
224224
```
225225

226+
To get the validation errors from the session, the name of the input will be mapped to a *dot* notation like `title.en`. This is how old input data is handled as well.
227+
226228
### Customize the blade views
227229

228-
*todo*
230+
Publish the configuration file and Blade views with the following command:
231+
232+
```bash
233+
php artisan vendor:publish --provider="ProtoneMedia\LaravelFormComponents\Support\ServiceProvider"
234+
```
235+
236+
You can find the Blade views in the `resources/views/vendor/form-components` folder. With the `form-components.php` configuration file, you can change the location of the Blade view *per* component.
229237

230238
### Customize the components
231239

0 commit comments

Comments
 (0)