- Add support for
row_attr
- Add
escape("html_attr")
filter in HTML tag attributes with data
- Block
form_help
: Implement our own from parent theme, resolve issue with help class and element type - Block
form_row
: Remove bad way of getting help text throughform.vars.attr.help_text
- Block
form_row
,choice_row
,money_row
&percent_row
: Add{{- form_errors(form) -}}
&{{- form_help(form) -}}
- Remove all
{{- block('form_errors') -}}
to avoid duplicated error messages
- Block
choice_widget_dropdown
: Removed inline-styles and added it to docs
- Block
form_widget_simple
: Don't add anything new to hidden fields, so they don't take space in DOM
- Add composer.json file to project
- Block
checkbox_radio_label
: Handle translations similar to what is done at blockform_label
in parent themeform_div_layout.html.twig
- Block
choice_widget_expanded
: Check for attributedropdown
=>true
if a dropdown should be used for expandedChoiceType
- Block
dropdown_widget
changed name tochoice_widget_dropdown
- Block
choice_widget_dropdown
: Add implementations for choice groups in dropdown - Block
checkbox_radio_label
: Removed dropdown implementations after simplifications inchoice_widget_dropdown
- Block
choice_widget_collapsed
: Addedis-multiple
to select parent element if themultiple
variable is set to true on the added choice type - Block
choice_widget_expanded
: Check if theexpanded
variable is set to true on the added choice type, and then render the newdropdown_widget
-block - Block
dropdown_widget
: Adds the ability to implement Bulma'sDropdown
-component to a choice type with theexpanded
variable set to true - Block
form_label
: Fix so that label attributes are added using onlylabel_attr
variable, and notattr
variable - Block
checkbox_radio_label
: Revert previous change about adding<div>
tag with afield
class, add proper fix. Plus adjust to newDropdown
support - Block
choice_row
: New block which implements Bulma'sDropdown
-component when aChoiceType
(withexpanded
variable set to true) is rendered withform_row()
- Block
checkbox_row
&radio_row
: Removed so that we use defaultform_row
block to properly wrap a<div>
tag with the classfield
around the element
- Block
checkbox_radio_label
: Wrapped a<div>
tag with afield
class aroundcheckbox_radio_label
, as the rest of the fields of the form - Block
choice_widget_collapsed
(which affectselect
tags): Modified to not only implement size related bulma classes, but any other bulma class - Changed
<span>
tags to<div>
tags