Skip to content
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

pickStringRemember: defaultSelect (alternative to addLabelToTop) #100

Open
rioj7 opened this issue Nov 11, 2024 · 2 comments
Open

pickStringRemember: defaultSelect (alternative to addLabelToTop) #100

rioj7 opened this issue Nov 11, 2024 · 2 comments
Assignees

Comments

@rioj7
Copy link
Owner

rioj7 commented Nov 11, 2024

issue emerged from #96

l-inc: addLabelToTop: the name puts an emphasis on the visual side-effect rather than on the actual functional feature it brings. A possible alternative to this would be a property called defaultSelect (or alike) that takes a sequence of 0 or more labels. Then it could work consistently for both single-pick and multi-pick lists. It would bring the specified option to the top for single-pick lists and it would select 0 or more check-boxes for multi-pick lists.

@rioj7 rioj7 self-assigned this Nov 11, 2024
@Qazorr
Copy link

Qazorr commented Nov 12, 2024

will this also be included in the file.pickFile to maybe show the last picked file or put some emphasis on chosen files?

@rioj7
Copy link
Owner Author

rioj7 commented Nov 13, 2024

@Qazorr a nice feature, I have created a new issue for this.

An alternative is to use Example 6 from pickStringRemember.
But this does not allow you to modify a previous multi file pick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants