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 b86f3a3 commit b4a4668Copy full SHA for b4a4668
src/components/textinput.rs
@@ -47,6 +47,7 @@ impl TextInputComponent {
47
/// Clear the `msg`.
48
pub fn clear(&mut self) {
49
self.msg.clear();
50
+ self.cursor_position = 0;
51
}
52
53
/// Get the `msg`.
0 commit comments