We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 756c124 commit bfda870Copy full SHA for bfda870
src/components/textinput.rs
@@ -89,7 +89,7 @@ impl TextInputComponent {
89
/// Set the `msg`.
90
pub fn set_text(&mut self, msg: String) {
91
self.msg = msg;
92
- //TODO: make sure cursor is in bounds
+ self.cursor_position = 0;
93
}
94
95
/// Set the `title`.
0 commit comments