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
Describe the bug
Explain what you wanted to do and the wrong result you got.
When using ChoiceField in edit form, html select element choices are limited to the ones given a CrudController:
When using the same in a CollectionField, the Tom Select clear-button element is available making possible to choose an empty choice:
When choosing empty, this leads to following error:
Expected argument of type "string", "null" given at property path ...
To Reproduce
Make an entity with a ChoiceField.
Make another entity with a ManyToOne relation CollectionField the the previous entity.
Write CRUD controller for both of them check previously detailed error.
The text was updated successfully, but these errors were encountered:
Describe the bug
Explain what you wanted to do and the wrong result you got.
When using ChoiceField in edit form, html select element choices are limited to the ones given a CrudController:
When using the same in a CollectionField, the Tom Select clear-button element is available making possible to choose an empty choice:
When choosing empty, this leads to following error:
To Reproduce
The text was updated successfully, but these errors were encountered: