What Bootstrap functionality is broken by this? On Wednesday, September 16, 2015 at 9:42:55 AM UTC-4, Stuart Rolinson wrote: > > When I create an item directly in the html form with a class ='hidden' for > use with bootstrap, web2py appears to be rendering an additional element > style "display:none" which stops bootstrap functionality working correctly. > > Raw HTML: > > <div id='countyEntry' class='hidden'> > <label id='lblCounty2' class='form-label no-bold' > for='slctCounty'>Select County</label> > <input id='slctCounty' class='form-control' type='text'> > </div> > > Rendered HTML: > > <div id="countyEntry" class="hidden" style="display: none;"> > <label id="lblCounty2" class="form-label no-bold" > for="slctCounty">Select County</label> > <input id="slctCounty" class="form-control" type="text"> > </div> > > Is this correct behaviour? I don't think it should be doing this. > > Thanks, > Stuart >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.