adr1enbe4udou1n / laravel-boilerplate

Laravel 5.7 Boilerplate based on Bootstrap 4 and Vue Tabler for Backend.
https://laravel-boilerplate.okami101.io
MIT License
259 stars 107 forks source link

RoleForm.vue does not display feedback #111

Closed zalon closed 5 years ago

zalon commented 5 years ago

When creating roles, the check for the role name being unique, will generate an error if the name already exists, as expected.

However, the result is not as expected.

The name input field will turn red, but the error message will not be shown. Eg. the state will change to invalid, but feedback will not be set.

Why is this? It works as expected in the other forms, and I've been unable to see the difference.

adr1enbe4udou1n commented 5 years ago

Hello,

It was because of b-row outside inputs which breaks boostrap 4 validation (feedback must be adjacent to input)

I fixed by adding dedicated b-form-feedback.

Thx !