Skip to content

get validation to work for bootstrap 4#1

Merged
beenje merged 1 commit into
beenje:bootstrap-v4from
rakelkar:bootstrap-v4
Jun 9, 2018
Merged

get validation to work for bootstrap 4#1
beenje merged 1 commit into
beenje:bootstrap-v4from
rakelkar:bootstrap-v4

Conversation

@rakelkar

Copy link
Copy Markdown

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

beenje commented Jun 3, 2018

Copy link
Copy Markdown
Owner

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

rakelkar commented Jun 3, 2018 via email

Copy link
Copy Markdown
Author

@rakelkar

rakelkar commented Jun 3, 2018 via email

Copy link
Copy Markdown
Author

@beenje

beenje commented Jun 9, 2018

Copy link
Copy Markdown
Owner

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