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
The completer._list property on the other hand always returns Array of strings and underscore in its name implies that it is private.
So is the following code intuitive?
// set list of itemscompleter.list="#selector";// with 2 elements: "one", "two"// > "#selector"// get list of itemscompleter._list;// > [ "one", "two" ]
I'm started to work on #14565 and it's better not to use _list in tests, as it is private. Having the public API to get the current list of items would be great (not only for tests). However maybe it's better to use different name. Something like:
// get list of itemscompleter.items;// > [ "one", "two" ]// and (maybe) set list of items (always from array)completer.items=["another","list"];// > [ "another", "list" ]
JS property list doesn't exist. but there is _list with underscore. Please repair it in code or in docs and examples.
The text was updated successfully, but these errors were encountered: