Open ptt-bs23 opened 4 years ago
I had this issue two times. The first time, toggles were initially showing as a simple checkbox, no classes applied, but after the page reload, the form properly shows toggles. I "fixed" it by changing the form attribute from remote: true
to remote: false
The second time toggles are not showing initially even with remote: false
and I didn't found a solution yet
I made a toggle switch component in react with bootstrap4-toggle and it looks like this:
But it shows like a simple checkbox. No error in console. Any help on this?