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
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
Navigate to the 'new Resource' page for a resource with acts_as_taggable_on and the tag field configured.
Fill out the form including some tags in the 'tags' field.
Intentionally make a mistake in another field to cause the form submission to fail.
Submit the form.
Notice that upon form error, the 'tags' field is rendered empty instead of displaying the previously entered tags.
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.
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: