-
Notifications
You must be signed in to change notification settings - Fork 67
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
SpSelectDialog should select the first item #1530
Comments
you mean like by default? |
Yes. And may be with a message not to do it for people that do not understand UX. |
Uhm... it seems is already like that: SpSelectDialog>>items: aCollection
list items: aCollection.
aCollection size > 1
ifTrue: [ list selectItem: aCollection first ] and testing it, it seems to work: StPharoApplication current newSelect
items: #(x y z);
openModal. EDIT: And now that I see, you did that, in December :) |
maybe better just to ask for not empty, instead size? |
This is strange because in some refactorings the first item is not selected and this is why I thought that we lost it. |
So it was not lost but I just badly coded it. |
SpSelectDialog should select the first item.
The text was updated successfully, but these errors were encountered: