Volker Lamp created TAP5-2714:
---------------------------------

             Summary: Checkbox component with Boostrap4
                 Key: TAP5-2714
                 URL: https://issues.apache.org/jira/browse/TAP5-2714
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.8.1, 5.8.0, 5.7.3, 5.6.4, 5.7.2, 5.7.1, 5.6.3, 5.7.0, 
5.6.2, 5.6.1, 5.6.0, 5.5.0
            Reporter: Volker Lamp


With Bootstrap4 enabled, the Checkbox component does not render the Bootstrap 4 
style {{form-check-input}} css class. Likewise, the Label component renders 
Bootstrap 3 style {{control-label}} whereas it should be rendering Bootstrap 4 
style {{{}form-check-label{}}}.

As a workaround, one can use Checkbox and Label directly and specify the 
correct css classes. When those are wrapped by a BeanEditor, one has to 
overwrite the property first like so {{<p:SomeBooleanProperty> ... 
</p:SomeBooleanProperty>}}.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to