You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The word 'false' is saved in empty text repeater fields in v2.4.0 #1138
When adding new items to a repeater text field and leaving them blank, the items should not be saved. In v2.4.0 the items are saved and contain the word false. This means when displaying the field values on the front end, the word false is returned and displayed.
To reproduce:
Create a field with 'type' => 'text' and 'repeatable' => true
@jtsternberg I'm testing 2.4.1 now and still getting false in a repeatable WYSIWYG field. Tested on 2 different installs. If I add 'default' => '', to the WYSIWYG field, then it's fine.
Activity
Do not set repeated field values to string "false" when boolean false. …
jtsternberg commentedon May 25, 2018
Fixed in 2.4.1. Thank you for the helpful bug report.
JiveDig commentedon May 26, 2018
@jtsternberg I'm testing 2.4.1 now and still getting false in a repeatable WYSIWYG field. Tested on 2 different installs. If I add
'default' => '',to the WYSIWYG field, then it's fine.jtsternberg commentedon May 29, 2018
@JiveDig as always, can you pretty please provide your configuration code so we can test w/ the same thing?
JiveDig commentedon May 29, 2018
Sorry @jtsternberg, I think i was too excited for 🍺 on Memorial Day weekend ;P
jtsternberg commentedon May 29, 2018
Ha, I hear that. It should be fixed with 2.4.2. Please let me know.
JiveDig commentedon May 29, 2018
Yessir, works in 2.4.2 thanks!
lumpysimon commentedon May 30, 2018
Thanks @jtsternberg for the quick fix on this, all working great again now.
Do not set repeated `wysiwyg` field values to string "false" when boo…