Skip to content

Fixed autofill for non-NITI textfields on iOS#2937

Merged
Vladimir Mazunin (mazunin-v-jb) merged 4 commits into
jb-mainfrom
v.mazunin/disable-autofill-in-compose-ios-textfields
Mar 31, 2026
Merged

Fixed autofill for non-NITI textfields on iOS#2937
Vladimir Mazunin (mazunin-v-jb) merged 4 commits into
jb-mainfrom
v.mazunin/disable-autofill-in-compose-ios-textfields

Conversation

@mazunin-v-jb

@mazunin-v-jb Vladimir Mazunin (mazunin-v-jb) commented Mar 30, 2026

Copy link
Copy Markdown

Fixed the regression with appeared autofill in non-native textfields on iOS

Fixes:
CMP-9993 [iOS] TextField. The new Autofill context menu item is available in the current implementation

Testing

This should be tested by QA

Release Notes

Fixes - iOS

  • (prerelease fix) Fix incorrect appearance of Autofill context menu item in the BasicTextField(TextFieldValue) and BasicTextField(TextFieldState)

fun hideTextMenu() = this.hideEditMenu()

fun isTextMenuShown() = isEditMenuShown
override fun shouldUseNonComposeMenuActions() = usingNativeTextInput

Choose a reason for hiding this comment

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

should be useNativeTextInput based on the previous PRs 🤔

@mazunin-v-jb Vladimir Mazunin (mazunin-v-jb) Mar 31, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I thought that might be confusing in the obj-c class, since it's used only for the menu content, and I'd like to avoid having usingNativeTextInput() in addition to the variable.
Anyway, I was going to separate niti and non-niti in the upcoming text refactoring, and this flag should be unnecessary after that and would be removed.

@mazunin-v-jb Vladimir Mazunin (mazunin-v-jb) force-pushed the v.mazunin/disable-autofill-in-compose-ios-textfields branch from e4b2667 to dc55d18 Compare March 31, 2026 12:05
@mazunin-v-jb Vladimir Mazunin (mazunin-v-jb) force-pushed the v.mazunin/disable-autofill-in-compose-ios-textfields branch from dc55d18 to a739488 Compare March 31, 2026 14:05
@mazunin-v-jb Vladimir Mazunin (mazunin-v-jb) merged commit 2cb3e63 into jb-main Mar 31, 2026
16 checks passed
@mazunin-v-jb Vladimir Mazunin (mazunin-v-jb) deleted the v.mazunin/disable-autofill-in-compose-ios-textfields branch March 31, 2026 14:24
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