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 have read the template completely before filling it in.
Context
setMenuItems method sets and shows the new created entries but unsets them directly when focus on the input element for autocomplete search or after close/reopen the options
Current Behavior
Calling the setMenuItems method shows the list of the defined entries within the methods argument, but does not seem to set them as permanent entries, when you trigger keyboard interaction or close/reopen the option entries, items set by setMenuItems are not visible but shows the initial data entries
Changing the minLength to a number greater then 0, seem to affect the open functionality
Expected behavior
When changing the entries with the setMenuItems method, they should remain visible after component interaction
The method should be the main method for handling create/update/delete items dynamically
Updated entries should be:
accessible even when dropdown element is closed/opened
accessible by autocomplete search
accessible when minLength value is greater then 0
Possible Solutions or Causes
menuItems property is empty after focusing into the input field or emptying the field after selection, probably the element is re-initialized where options data entries overwrite the given argument
Before submitting...
Context
setMenuItems method sets and shows the new created entries but unsets them directly when focus on the input element for autocomplete search or after close/reopen the options
Current Behavior
Calling the setMenuItems method shows the list of the defined entries within the methods argument, but does not seem to set them as permanent entries, when you trigger keyboard interaction or close/reopen the option entries, items set by setMenuItems are not visible but shows the initial data entries
Changing the minLength to a number greater then 0, seem to affect the open functionality
Expected behavior
When changing the entries with the setMenuItems method, they should remain visible after component interaction
The method should be the main method for handling create/update/delete items dynamically
Updated entries should be:
Possible Solutions or Causes
menuItems property is empty after focusing into the input field or emptying the field after selection, probably the element is re-initialized where options data entries overwrite the given argument
Steps to reproduce
Codepen example
Your Environment
The text was updated successfully, but these errors were encountered: