Open davidnash opened 4 years ago
If I add the bootstrap class 'is-invalid', I would expect to see a red border and icon in the top left to show that the field is invalid.
I'm using this to create the editor.
<div id="quill-editor" class="form-control @error('body') is-invalid @enderror">{!! old('body', $post->body) !!}</div>
This is a blade template, and it will add the class is-invalid when needed.
is-invalid
The .ql-snow.ql-container CSS is more specific than bootstrap's .form-control.is-invalid and so I don't see the red border.
.ql-snow.ql-container
.form-control.is-invalid
We probably need to update the themes to allow for this and issue https://github.com/Weavy/bootstrap-quill/issues/4 - I'm happy to create a pull request, if that's useful.
Feel free to create a PR for this!
If I add the bootstrap class 'is-invalid', I would expect to see a red border and icon in the top left to show that the field is invalid.
I'm using this to create the editor.
This is a blade template, and it will add the class
is-invalid
when needed.The
.ql-snow.ql-container
CSS is more specific than bootstrap's.form-control.is-invalid
and so I don't see the red border.We probably need to update the themes to allow for this and issue https://github.com/Weavy/bootstrap-quill/issues/4 - I'm happy to create a pull request, if that's useful.