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
Turn on Active switch in order to activate menu list
Customize values of menu items
Turn off Active to close menu list and change State from Focused to Enabled
Run prototype
Click Select or Autocomplete instance to open menu list
Current behavior
Menu list popup shows original menu items - 3 Menu Items and 1 divider.
Expected behavior
Menu list popup should show customized menu items
Context
I tried to add an autocomplete instance with the menu items I wanted to my UI. When I run the prototype while the menu is open, the customized content displays correctly. However, if I run the prototype while the menu is closed, when I click to open the menu, the customized content disappears, and the menu items revert to the default settings from when the instance was first created. Since the UI typically starts with the menu closed, I think this issue is important.
Your environment
Software
Version
Design file version
v5.16.0
Design tool
Figma
etc.
Community
Search keywords: select autocomplete
The text was updated successfully, but these errors were encountered:
Hi Anselmo, that's correct , the overwrites get reset to the original state. The only way to keep your overwrites is to start the prototype with the Active set to true.
Answered in another ticket. Let's keep this one open since it's a consistent issue Figma might not solve any time soon 🫣.
In prototype mode Figma loses the new values if you have a modified <Menu> inside the <Select> that is correct. There are a couple of options here:
Option 1
If you start the prototype with the <Select> active set to true Figma will remember your changes.
Option 2
Another option is to create a new contextual component <Menu> that you replace in your <Select>. Simply drag and drop a <Menu>, detach it, make your changes and create it as a component using an underscore prefix (_) so it won't get published. E.g "_Account Forms / Settings Dropdown" and replace the default instance with your new component.
Steps to reproduce
Link to live example:
Steps:
Select
orAutocomplete
Active
switch in order to activate menu listActive
to close menu list and changeState
fromFocused
toEnabled
Select
orAutocomplete
instance to open menu listCurrent behavior
Menu list popup shows original menu items - 3
Menu Item
s and 1 divider.Expected behavior
Menu list popup should show customized menu items
Context
I tried to add an autocomplete instance with the menu items I wanted to my UI. When I run the prototype while the menu is open, the customized content displays correctly. However, if I run the prototype while the menu is closed, when I click to open the menu, the customized content disappears, and the menu items revert to the default settings from when the instance was first created. Since the UI typically starts with the menu closed, I think this issue is important.
Your environment
Search keywords: select autocomplete
The text was updated successfully, but these errors were encountered: