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

Commit c409f2c

Browse files
committed
WIP
1 parent a77e005 commit c409f2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,11 @@ Publish the configuration file and Blade views with the following command:
233233
php artisan vendor:publish --provider="ProtoneMedia\LaravelFormComponents\Support\ServiceProvider"
234234
```
235235

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.
236+
You can find the Blade views in the `resources/views/vendor/form-components` folder. In the `form-components.php` configuration file, you can change the location of the Blade view *per* component.
237237

238238
### Customize the components
239239

240-
*todo*
240+
You can bind your own component classes to any of the elements. In the `form-components.php` configuration file, you can change the class *per* component. As the logic for the components is quite complex, it is strongly recommended to duplicate the default component as a starting point, and start editing from there. You'll find the default component classes in the `vendor/protonemedia/laravel-form-components/src/Components` folder.
241241

242242
### Prefix the components
243243

tests/Feature/TranslationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function it_can_bind_a_target_to_the_form()
1818
}
1919

2020
/** @test */
21-
public function it_shows_the_old_values_correctly()
21+
public function it_shows_the_validation_errors_and_old_values_correctly()
2222
{
2323
$this->registerTestRoute('translation', function (Request $request) {
2424
$request->validate([

0 commit comments

Comments
 (0)