Skip to content

Fix selected icon display for options beyond initial pagination limit#37

Merged
aerni merged 1 commit into
mainfrom
fix/fieldtype
Apr 9, 2026
Merged

Fix selected icon display for options beyond initial pagination limit#37
aerni merged 1 commit into
mainfrom
fix/fieldtype

Conversation

@aerni

@aerni aerni commented Apr 9, 2026

Copy link
Copy Markdown
Owner

Icons loaded via infinite scroll (beyond the initial 50) lose their display after selection. When the dropdown closes, limit resets to 50, removing the selected icon from the options array. The Combobox can no longer resolve the value to a full option object and falls back to showing the raw CSS class string instead of the icon preview and label. The same happens after saving and reloading the page.

The fix ensures the selected icon is always present in the options array while the dropdown is closed, so the Combobox can resolve it for display. When the dropdown is open, the list remains unmodified.

@aerni
aerni merged commit f1cace2 into main Apr 9, 2026
1 check passed
@aerni
aerni deleted the fix/fieldtype branch April 9, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant