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 23451e3 commit 422ffb2Copy full SHA for 422ffb2
src/components/TextInput/TextInput.react.js
@@ -15,6 +15,7 @@ class TextInput extends React.Component {
15
if (props.multiline !== this.props.multiline) {
16
const node = props.forwardedRef.current;
17
node.focus();
18
+ if (this.props.value) node.setSelectionRange(this.props.value.length, this.props.value.length);
19
}
20
21
0 commit comments