Skip to content

[Feature] Add inputType event param for x-input-ng and x-textarea-ng on HarmonyOS - #8843

Merged
jianliang00 merged 1 commit into
developfrom
shadow/p/ci_lynx/input_ng_paste_inputtype
Aug 25, 2026
Merged

[Feature] Add inputType event param for x-input-ng and x-textarea-ng on HarmonyOS#8843
jianliang00 merged 1 commit into
developfrom
shadow/p/ci_lynx/input_ng_paste_inputtype

Conversation

@lynxassistant

@lynxassistant lynxassistant Bot commented Aug 24, 2026

Copy link
Copy Markdown

No description provided.

@jianliang00
jianliang00 force-pushed the shadow/p/ci_lynx/input_ng_paste_inputtype branch 2 times, most recently from 354f698 to 15aa84f Compare August 24, 2026 17:42
Register paste detection on all three platforms so the input event
carries inputType="paste" when pasting, "normal" otherwise:
- HarmonyOS: NODE_TEXT_INPUT_ON_PASTE / NODE_TEXT_AREA_ON_PASTE CAPI events
- Android: mPasting flag from LynxEditText.onTextContextMenuItem
- iOS: UITextField/UITextView subclass overriding paste: selector

Also adds inputType to the TypeScript typings (InputInputEvent and
TextAreaInputEvent) and corresponding type tests.
@jianliang00
jianliang00 force-pushed the shadow/p/ci_lynx/input_ng_paste_inputtype branch from 15aa84f to b1b4b0a Compare August 25, 2026 02:53
@jianliang00
jianliang00 merged commit c25e6a4 into develop Aug 25, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants