Skip to content

Fixed the timing of updating the text binding on SwiftUITextField#89

Open
AlexTanabe wants to merge 2 commits intomasterfrom
bugfix/TEM-2156_TextField_Value_Binding_Update
Open

Fixed the timing of updating the text binding on SwiftUITextField#89
AlexTanabe wants to merge 2 commits intomasterfrom
bugfix/TEM-2156_TextField_Value_Binding_Update

Conversation

@AlexTanabe
Copy link
Contributor

No description provided.

@AlexTanabe AlexTanabe requested a review from kevinwl02 as a code owner June 27, 2022 12:03
setBindingText(text)
}
return textBinding?.wrappedValue == newText
return true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's not necessary to keep this method anymore. Logic related to setting up the lastWrittenText can be moved over to textFieldDidChange

@AlexTanabe AlexTanabe changed the title TEM-2156: Fixed the timing of updating the text binding on SwiftUITextField Fixed the timing of updating the text binding on SwiftUITextField Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants