-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IOS] Add smartInsertDelete prop to TextInput component #40
[IOS] Add smartInsertDelete prop to TextInput component #40
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code is looking good to me although I dont have much experience with this code.
React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Nothing iOS wise catches my eye as wrong, let's see if this tests good
@mananjadhav can you see this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the inconvenience, but this PR needs to be updated to target the Expensify-0.71.2-alpha.0
branch
…utoformatting-behaviors-expensify-0.71.0-alpha1
Hi @roryabraham, could you please review the changes? |
@sketchydroide I just reviewed this today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine to me
Upstream PR Link
facebook#36111
Summary
This PR add support to configure the smartInsertDeleteType property in iOS inputs as described here, making possible toggle this autoformatting behavior.
This will allow fixing this issue: Expensify/App#14049
Changelog
[IOS] [ADDED] - Add smartInsertDelete prop to TextInput component
Test Plan
smartInsertDelete
prop istrue
orundefined
, the system will use the default autoformatting behavior.smartInsertDelete
prop isfalse
, the system will disable the autoformatting behavior.Simulator.Screen.Recording.-.iPhone.14.-.2023-02-09.at.15.40.07.mp4