- Issue created by @johnv
- Status changed to Fixed
about 1 year ago 10:03am 10 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.
The widget annonation is wrong. this gives a bad DX.
In below example, the value is "FALSE", but a boolean is expexted, so the core code regards this as TRUE.
/**
* @FieldWidget(
* id = "...",
* label = @Translation("..."),
* field_types = {
* "office_hours",
* },
* multiple_values = "FALSE",
* )
*/
The correct value must be :
/**
* @FieldWidget(
* multiple_values = TRUE,
* )
*/
Fixed
1.12
Code - widget
Automatically closed - issue fixed for 2 weeks with no activity.