Uh oh!
There was an error while loading. Please reload this page.
Conversation
JuliaKirschenheuter
commented
Jun 15, 2023
@jancborchardt@nimishavijay |
Pytal
commented
Jun 16, 2023
I believe the name needs to be destructured with something like 👇 asynccreateGroup({name: gid}){
Since limit for NcSelect applies to dropdown options rather than selected options, as seen in |
JuliaKirschenheuter
commented
Jun 16, 2023
Thanks! I've tried it before too, but used wrong attr: options instead of value. It works now, but we probably should do something with styles (but not in this PR): |
Regarding adding a new group there are several problems:
Thanks @ShGKme for investigation! But still have no idea how to fix that problem ;( |
Some notes: 1 - Not a big problem, just a difference with We can either call 2 -
Sorry, I was a bit not accurate. I meant, the internal selected list (selected groups) in Combination of 2 + 3 + 4 - no support of async tag creation The problem is that So if don't use The simplest solution is to check if it is a real group object, aka asyncaddUserGroup(group){if(group.id===undefined){// This is NcSelect's internal value for a new inputted group name// Ignorereturn}// Add the user to the group}This solution should work but looks dirty and implicit. I'd explicitly mark the being inputted option as temp/being created using <NcSelect:create-option="(value) => ({ name: value, isCreating: true })"
@option:selected="addGroup($event.at(-1))"
/>asyncaddUserGroup(group){if(group.isCreating){// This is NcSelect's internal value for a new inputted group name// Ignorereturn}// Add the user to the group}An alternative solution could be: to drop using |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nimishavijay
commented
Jun 19, 2023
@JuliaKirschenheuter it looks great! Much better now :) Some minor enhancements:
They can also be in a follow up PR! The changes here look good! :) |
Dear @nimishavijay I'm very sorry, could you please make a new Issue for this 2 improvements? This implementation has already taken more then planned ;( If it would't be so, i would fix them here. I've created an issue with improvements: #39002 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
artonge
left a comment
There was a problem hiding this comment.
Nitpick, but good otherwise.
Uh oh!
There was an error while loading. Please reload this page.
4448272 to
b113afaCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
b113afa to
cc1498bComparesusnux
commented
Jun 27, 2023
Drone error is related because it looks for the multiselect instead of the select, so the acceptance tests need to be adjusted, this needs to be ported to NcSelect: |
JuliaKirschenheuter
commented
Jun 27, 2023
yes, it is known. I've tried to fix that problem here #37870, but still had problems with a table itself and had to revert this PR. But that is known and will be fixed. |
susnux
commented
Jun 27, 2023
I guess this rule: |
JuliaKirschenheuter
commented
Jun 27, 2023
no, unfortunately not. Please look in master, there is a same problem. |
dfd5519 to
cf82034CompareJuliaKirschenheuter
commented
Jun 28, 2023
…fields with NcSelect fields Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2cdbbcc to
9b3764dCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…fields with NcSelect fields Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
f74f922 to
3fba4c5CompareThere is still the issue with the password change, I verified it works locally.
(Maybe we should switch the settings tests also to cypress in the future, as it seems to be easier to adjust.) |
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>


Replace plain input fields with NcTextField fields and NcMultiSelect fields with NcSelect fields
NcMultiselectwithNcSelectfor UserRow #38145Summary
Before:

After:

Also added notifications after
displaty name,passwordandemailwere changed.TODO
:limitprop onNcSelectis just not working)Checklist