Skip to content

The "trim" modifier makes something weird happen #9168

@jfcherng

Description

@jfcherng

Version

2.5.18

Reproduction link

https://codepen.io/jfcherng/pen/ebYmZB

Steps to reproduce

Just type something to the input box and the <span> gets red.

What is expected?

Nothing happens to the <span>.

What is actually happening?

The <span> gets red.


This happens since 2.5.18-beta.0.
This won't happen if I removing the trim modifier from the v-model.

Activity

added a commit that references this issue on Jan 25, 2019
da4ae58
added a commit that references this issue on Mar 1, 2024
0d4b35f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @posva@jfcherng

        Issue actions

          The "trim" modifier makes something weird happen · Issue #9168 · vuejs/vue