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
I'm seeing an issue where the terms field shows terms twice, allows selecting both and will submit both, leading to possibly corrupt data when deleting one of the duplicates. This only seems to happen for the typeahead field.
The real issue seems to happen when selecting both of the duplicates, then removing one of them, and saving. The data is now indexed numerically, but skips an index. The term field refuses to show any data afterwards. See screenshots below.
The examples below are showing a terms field in select mode with three existing terms A, B, and C.
Bug description
I'm seeing an issue where the terms field shows terms twice, allows selecting both and will submit both, leading to possibly corrupt data when deleting one of the duplicates. This only seems to happen for the
typeahead
field.The real issue seems to happen when selecting both of the duplicates, then removing one of them, and saving. The data is now indexed numerically, but skips an index. The term field refuses to show any data afterwards. See screenshots below.
The examples below are showing a
terms
field inselect
mode with three existing terms A, B, and C.Duplicate options
Duplicate selection
Duplicate submission payload
Corrupt data when submitting with one duplicate deleted
Broken input after submitting with one duplicate deleted
How to reproduce
tags
terms
field topages
collection, limited totags
taxonomy, withtypeahead
inputA
,B
, andC
A
into term fieldA
should appear twice, and should be selectable twiceA
optionsB
optionsLogs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: