Skip to content
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

v-model: Clarify IME caveat tip #804

Merged
merged 1 commit into from
Jan 22, 2021
Merged

Conversation

tylermercer
Copy link
Contributor

Description of Problem

The tip on using input to listen to IME-based composition input was unclear. In the context of the preceding statement about textarea and input type=text elements using input, it seemed that composition with v-model should work with those inputs.

Proposed Solution

This change makes it clear that v-model should be replaced with a custom @input/:value pair.

Additional Information

See this comment where @yyx990803 mentions this solution.

See also this pull request to add a .eager feature that would simplify this.

Previously, the tip on using `input` to listen to IME-based composition input was unclear. In the context of the preceding statement about `textarea` and `input type=text` elements using `input`, it seemed that composition with v-model should work with those inputs. This change makes it clear that `v-model` should be replaced with a custom `@input/:value` pair.
@tylermercer tylermercer changed the title Clarify IME caveat tip v-model: Clarify IME caveat tip Jan 12, 2021
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