-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TagList not saving an empty value #1223
Closed
Milestone
Comments
@bennothommo are you suggesting it's possible to send an empty value in the Post data? |
@mjauvin most certainly. |
How do you do that ? (I mean in respect to the TagList formwidget) |
Merged
mjauvin
changed the title
Tag list in relation mode not saving an empty value
TagList not saving an empty value
Dec 10, 2024
It doesn't work in |
LukeTowers
pushed a commit
that referenced
this issue
Dec 19, 2024
The TagList formwidget was not working properly in relation mode if the relation was not using a pivot table (e.g. morphMany/hasMany) All modes did not update the model field or relation when all tags had been cleared. Fixes #1223
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It appears that a
TagList
widget inrelation
mode is not saving an empty value, because it no longer sends a POST value when empty.Replication steps
In the Test plugin:
It does not fail validation, so the form saves, as the last value in the tag list is kept on refresh even though all tags are removed.
The text was updated successfully, but these errors were encountered: