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 using advanced select with remote data and tags, mapping the title to a field with another name, e.g. name, results in selected items missing their title.
Steps to Reproduce
Use advanced select widget with remote data and tags
Use apiFieldsMap: { "title": "name }
Use an API that has a name attribute and does not have a title attribute
Select an item. Notice that titles work in the dropdown, but after selecting an item, it loses its title in the input element (selected tags), as shown in the screenshots section.
Note that if the API returns a title attribute, everything works, even if apiFieldsMap.title != "title".
Demo Link
(How to create a demo with remote data? Any guidance?)
Expected Behavior
Setting apiFieldsMap.title to an attribute other than title should not require the API to provide a title attribute.
Actual Behavior
The API must return a title attribute, regardless of how apiFieldsMap.title is set.
Screenshots
The text was updated successfully, but these errors were encountered:
Summary
When using advanced select with remote data and tags, mapping the
title
to a field with another name, e.g.name
, results in selected items missing their title.Steps to Reproduce
apiFieldsMap: { "title": "name }
name
attribute and does not have atitle
attributeNote that if the API returns a
title
attribute, everything works, even ifapiFieldsMap.title != "title"
.Demo Link
(How to create a demo with remote data? Any guidance?)
Expected Behavior
Setting
apiFieldsMap.title
to an attribute other thantitle
should not require the API to provide atitle
attribute.Actual Behavior
The API must return a
title
attribute, regardless of howapiFieldsMap.title
is set.Screenshots
The text was updated successfully, but these errors were encountered: