Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get validation to work for bootstrap 4 #1

Merged
merged 1 commit into from
Jun 9, 2018

Conversation

rakelkar
Copy link

set d-block to get the invalid feedback to show up as red
set is-invalid on the form control for a lovely red border

@beenje
Copy link
Owner

beenje commented Jun 3, 2018

Thanks for the PR!
Where did you get the d-block from? I don't see it anywhere in the official documentation (for forms): https://getbootstrap.com/docs/4.1/components/forms/

@rakelkar
Copy link
Author

rakelkar commented Jun 3, 2018 via email

@rakelkar
Copy link
Author

rakelkar commented Jun 3, 2018 via email

@beenje
Copy link
Owner

beenje commented Jun 9, 2018

Sorry for the delay.
I must say I don't really use the quick_form macro. The code got quite messy and doesn't really work for me.
There is a PR that re-wrote support for wtf with bootstrap4 that might be interesting to look at: mbr#167

I'll merge this anyway as it solves some issues.

@beenje beenje merged commit 79b37d9 into beenje:bootstrap-v4 Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants