Skip to content

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

3 participants