-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
sap.m.SelectDialog clear/confirm button should be enabled in single selection mode #2379
Comments
Hi, Thank you for sharing this finding. I've created an internal incident 1970047730. The status of the issue will be updated here in GitHub. Regards, |
Hello @zypA13510 , Thank you for ticket. That is the expected behavior of the control. Kind Regards, |
@niyap I've also looked into the implementation and provided what I believed to be a fix in the PR. |
Hello @zypA13510 , Yes, I got it. There was a little mistake in our sample, so we corrected it and it will be available with the next release. Regards, |
@niyap Also, from the UX guideline:
IMHO, clearing the entry should be considered the same as "selecting" in the context of single selection mode, thus the dialog should have submitted itself when the clear button is pressed, instead of clear+cancel. All in all, I'd say clear+cancel is not a very elegant solution to this issue. Rather, I suggest that either: the user press clear, then ok (needs to be displayed in single selection), or the user press clear and the dialog submits itself (in single selection mode). |
Hello @zypA13510, Thank you for your reply and your point of view! We discussed with the UX designers, both the current behavior, your proposals and other possible solutions for that use case. Kind Regards, |
This enhancement request is covered in FIORITECHE1-3484 and FIORIDESIGN-614. |
OpenUI5 version: 1.60/latest
Browser/version (+device/version): Chrome v73 on Ubuntu (desktop)
Any other tested browsers/devices(OK/FAIL): not tested
URL (minimal example if possible): http://jsfiddle.net/zypA1310/L5cx4fut/
Steps to reproduce the problem:
SelectDialog
withshowClearButton=true
andmultiSelect=false
)What is the expected result?
In the opened dialog, there is some way to clear the content inside
Input
, either the clear button or by clicking confirm with an empty selection.What happens instead?
In the opened dialog, the clear button is shown but disabled. Confirm button is not shown.
Additional information:
According to the doc, this is the intended way to clear value from
Input
withvalueHelpOnly=true
:Related: #898.
The text was updated successfully, but these errors were encountered: