linebender / druid

A data-first Rust-native UI design toolkit.
https://linebender.org/druid/
Apache License 2.0
9.44k stars 569 forks source link

Change the default behavior of the ValueTextBox. #2379

Open Jeremiah-Roise opened 1 year ago

Jeremiah-Roise commented 1 year ago

I think it would be far more intuitive if this was true by default because it would function more like a normal TextBox.

I was working on adding auto complete to a project of mine, and it was working great until I tried to add it to a ValueTextBox, I spent hours trying to figure out what was wrong with my Formmatter impl because I assumed there was some type of event or command that I should have passed on. Long story short eventually I found the update_value_while_editing function and was able to fix my problem.

thanks for your time and listening to my rant.