-
Notifications
You must be signed in to change notification settings - Fork 92
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
Improve NcSettingsSelectGroup
- Convert to NcSelect
#4120
Conversation
Supersedes #4104, I guess. |
😮💨 Somehow I missed that PR But yes, basically this is fixing the same issue (+ more). |
Is it the desired behaviour that the groups load only after one types into the input field? This way, no groups show up when one just opens the |
972965d
to
c5c8a76
Compare
@raimund-schluessler it is (and was) limited to 10 groups per search / api call. I have now pushed another commit for caching at least the initial groups, so that if you use the component multiple time only one API call for an empty search is performed. |
All good, I can close mine |
return this.getValueObject() | ||
return this.getValueObject |
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.
This change is only needed to make it usable in general, right?
Would it make sense to backport it to 7.x?
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.
Yes, I would partially backport this
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.
Can you do that? :)
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.
@susnux please backport to version 7, then we need to release it and update the version in server stable27 and stable26
48ae6dd
to
fc0ce59
Compare
This comment was marked as outdated.
This comment was marked as outdated.
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.
…nd drop unused property * Moved from deprecated `NcMultiselect` to `NcSelect` * Removed unused `hint` property * Added `placeholder` property and added a hidden label element The `label` property is still used for the placeholder for backwards compatibility. * Added documentation for the events and added an example Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
… of the `NcSettingsSelectGroup` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Debounce search requests when typing * Cache initial groups (empty search) for all components of current page Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
fc0ce59
to
46c7eef
Compare
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@nickvergessen I think it is solved finally (there was a reactivity issue with vue). |
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.
Seems to work now, yes
Adding documentation, move to NcSelect and drop unused property
NcMultiselect
toNcSelect
(Ref: UseNcSelect
instead ofNcMultiselect
in the components #3743 )value
property).hint
propertyplaceholder
property and added a hidden label elementThe
label
property is still used for the placeholder for backwards compatibility.