Tags Field looses values after a validation error with acts_as_taggable_on
#2724
Closed
4 of 11 tasks
Labels
Bug
Something isn't working
Describe the bug
When submitting a form for creating or updating a Resource, if the form encounters an error and re-renders, the tags field does not remember the previously entered tags and appears empty. This issue occurs with tags in a model using
acts_as_taggable_on
.Steps to Reproduce
acts_as_taggable_on
and the tag field configured.Expected behavior & Actual behavior
Expected behavior: After form submission errors, the 'tags' field should display the tags that were entered prior to submitting the form.
Actual behavior: The 'tags' field is empty after the form re-renders due to validation errors.
Models and resource files
System configuration
Avo version: v3.6.0
Rails version: 7.0.4
Ruby version: ruby-3.1.2
License type:
Are you using Avo monkey patches, overriding views or view components?
Screenshots or screen recordings
Additional context
Impact
Urgency
The text was updated successfully, but these errors were encountered: