Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2714

Checkbox and Label components with Boostrap 4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.5.0, 5.6.0, 5.6.1, 5.6.2, 5.7.0, 5.6.3, 5.7.1, 5.7.2, 5.6.4, 5.7.3, 5.8.0, 5.8.1
    • 5.8.2
    • tapestry-core
    • None

    Description

      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>.

      Attachments

        Activity

          People

            thiagohp Thiago Henrique De Paula Figueiredo
            vlamp Volker Lamp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: