-
Notifications
You must be signed in to change notification settings - Fork 114
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
limit show elements in list and highlight of user mentioned #91
base: dev
Are you sure you want to change the base?
Conversation
@piscitelli91 hey, thanks for you PR, great features, will try to merge ASAP |
members: { | ||
type: Array, | ||
default: () => [] | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@piscitelli91 I'm confused why the prop of members
is deleted 😕 it will break the members passing in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, i knought that the pull request send my branch at the date of pull request and not for future commits (I'm working on new functions that I will discuss with you).
I will create a new branch until this commit: 9196ffe
Sorry for mistake :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@piscitelli91 that would be cool, otherwise, I'm also trying to merge with fix if possible
} | ||
}, | ||
computed: { | ||
atItems () { | ||
return this.at ? [this.at] : this.ats | ||
return this.ats.map(at => at.symbol) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obviously, change like this is something breaking, against all the versions before this, and will influenced all the users who use this library.
Hey, is the highlighting feature added for mentioned user? |
This commit adds two new properties: maxLoadUsers and enableHighlight.
With the property maxLoadUser the component limits a number of elements to show. MaxLoadUser is an integer property, and when it sets at -1, it shows all elements.
With the property enableHighlight, a function adds to a div with contenteditable=true a span with class=mentioned and with text the value.