-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(MdAutocomplete): options with objects #1338
Conversation
@VdustR Is there any way that you think of about not turning this into a breaking change, but keep the object support for autocomplete? |
While |
Ran into the same problem, and had a look at this Pull Request. I wonder if it could be better to fix this such that |
Played around a bit with that idea and came up with a slightly different solution, using just a field name on the item that should return a String. Probably also a breaking change, as parent components that want to update with an Object when an Object is selected will have to listen to
|
Hi! Any updates on this PR? |
Will this PR merge? any updates? |
BREAKING CHANGE: Selected object only be passed via
@md-selected
,v-model
is always bound withsearchTerm
.v-model
type is changed to[String, Number]
and always be bound withsearchTerm
.@md-selected
pass selected item. This could be used to get the selected object. This event would be emitted on next tick afterv-model
changed because the case that clear selected item whilesearchTerm
changed considered.:md-get-plain-text
aim to ignore content with iconic font added.fix #1243