Checkbox not working with hidden element in browsers other than chrome
In rails, when we use check_box, it creates a hidden field because of which, I guess , we can't click on the IcoMoon Checkbox. We have to click little to the left, i.e. the hidden element.
http://apidock.com/rails/ActionView/Helpers/FormHelper/check_box
please can you point to a sample test made with Rails + BootMetro?
this also happen in cakephp. this is the sample output ;
``
the hidden input was automatically generated. so we gotta click on the hidden input which is on the left of the visible checkbox to make the 'right' icon appear on the checkbox. i think there was a guys said that it can be fix with 'display:none' on the hidden input, but seems its not working now.
it's strange... which version of bootmetro are you using? Which browser?
I was using version 1.0
ok, I can reproduce this issue... I'll give you an update asap
there's a way in ruby to change the order in which the html is rendered for the checkbox? if the hidden input is rendered AFTER the checkbox input is ok, otherwise the issue appears....
now that u mentioned it, in cakephp we can disable it using
`echo $this->Form->checkbox('published', array('hiddenField' => false));`
mybe in ruby it have a property to hide it also