Dynamically adding fields to editor for Bootstrap doesn't add form-control class to input
Dynamically adding fields to editor for Bootstrap doesn't add form-control class to input
ctam_guy
Posts: 7Questions: 1Answers: 0
in Bug reports
Just as the name says when using the "editor.add()" function, with a bootstrap styled version of datatables, doesn't automatically add the "form-control" bootstrap styling class to the input element. Only closing and re-opening the editor form applies the bootstrap styling. Took a look inside the Bootstrap integration module, and just it looks like the styles only get applied on open
Editor Version 1.6.5
This discussion has been closed.
Replies
Thank you - I completely agree. The class is only added on the
open
event at the moment. I'll look into fixing this for the next release.Until then the workaround would be to do something like:
Thanks for flagging this up.
Allan
Thanks for reading, and for the work around!
The fix for this has finally been committed and it will be included in the 1.7 release of Editor.
Allan