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

Track selected in addition to highlighted #5698

Open
mlisovyi opened this issue Apr 2, 2025 · 1 comment
Open

Track selected in addition to highlighted #5698

mlisovyi opened this issue Apr 2, 2025 · 1 comment

Comments

@mlisovyi
Copy link

mlisovyi commented Apr 2, 2025

I have discovered textual only a week ago. But thanks - it's a wonderful product!

Trying it out I have noticed, that several widgets (e.g. datatable, option list) can emmit messages about both selection as well as highlighting, however, at the first glace it would seem that only highlighting is tracked in the object state, which makes the selection less useful practically.

Consider an app, where the user would first select a city from an option list, this will populate an another option list with street names. Upon selection the streen the user wants to click a button to send the composed address (city + street). However, there seems no reliable mechanism to read off the city and street selection (The user might inbetween change the highlighted city without selecting it).

Is it an overlooked feature? Or was it a design choice?

Copy link

github-actions bot commented Apr 2, 2025

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

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

1 participant