Account created on 22 July 2016, almost 8 years ago
#

Recent comments

What exactly core functionalities is it breaking? I tested it and checkbox groups look exactly the same with the input__checkbox__toggle suggestios, as css takes care of this case.


if (!isset($variables['element']['#weight']) || !is_float($variables['element']['#weight'])) {

This is the result if doing the above check. First item is integer, the second one is float.

This patch will trigger all errors, regardless if field if visible/hidden via conditional fields.
For example, apply the patch and hide a required field with conditional fields. Error will be triggered for the required field.

Production build 0.69.0 2024