Open fearistoff opened 1 month ago
Adding customising options for 'recent' group icon.
Because decomposing state.options.groupIcons is placed before recent field, component prop group-icons have no access to change Recent group icon.
state.options.groupIcons
recent
group-icons
By switching those lines it now available to change.
In both screenshots to component's code:
<picker :native="false" :display-recent="true" @select="onSelect" :group-icons="{ recent: 'https://www.svgrepo.com/show/172818/star-outline.svg'}" />
Open the branch in Web Editor • VS Code • Insiders Open Preview
Context
Adding customising options for 'recent' group icon.
Summary
Because decomposing
state.options.groupIcons
is placed beforerecent
field, component propgroup-icons
have no access to change Recent group icon.Relevant Technical Choices
By switching those lines it now available to change.
User-facing changes
In both screenshots to component's code:
Checklist