ContactDetailsScreen trim input textbox value
This commit is contained in:
parent
038220c569
commit
9aa660fdb2
1 changed files with 1 additions and 0 deletions
|
|
@ -1082,6 +1082,7 @@ class ContactDetailsScreen extends React.Component {
|
|||
<TextInput
|
||||
value={this.state.allInputs[index].value}
|
||||
onChangeText={text => {
|
||||
text = text.trim();
|
||||
/** @type {typeof import('./../Models/Contact').ContactData} */
|
||||
const contact = this.state.contact;
|
||||
if (isDefault) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue