Closed jhoover4 closed 5 years ago
Sorry Jordan but I don't like this approach. Doing it this way you're adding a bootstrap specific feature/fix, and the option that I already said in #3 (add a new "closestSelector" option) was a more generic one.
This closestSelector
option would be set as div
by default, and could be set as .form-group
for this use case.
Addressing #3
This works with bootstrap 4 (the newest version). Might be a flaky solution, since it's hardcoded.