Commit 3d2a697
Add auto-close on selection for item picker modal in single-selection mode
When selectionMode is 'single', clicking an item now immediately submits and closes
the modal, providing a streamlined UX. Multiple selection mode continues to require
explicit confirmation via the confirm button.
This improves the user experience for profile-picker and context-picker components
when used in single-item mode, as users no longer need to click an additional
"Close" button after selecting an item.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent fac58fd commit 3d2a697
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
- Umbraco.Ai/src/Umbraco.Ai.Web.StaticAssets/Client/src/core/modals/item-picker
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments