Stealing focus from TextBox with Validator
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I think it will be useful to add `request_focus` call to other controls (i.e a button) to steal it from an active text box to trigger validation and data updating.
The current behavior I seem to be user unfriendly as after entering some text the user is required to press Enter key instead of just clicking a button "create"/"next".
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how request_focus, text-box focus, validation, and button activation interact in Druid. Confirm the expected behavior for clicking a create or next button after editing text, then identify the relevant tests or add coverage showing that focus changes trigger validation and data updating.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100