3 years ago

Read-only filter with v-model

Posted 3 years ago by itechsystemsolutions

Hello, I have this input type:

<input type = "number" v-model="quantity | currency '' ">

But Vue js gives me this warning:

[Vue warn]: It seems you are using a read-only filter with v-model="data.quantity | currency '' ". You might want to use a two-way filter to ensure correct behavior.

How can I get rid of this warning? thanks in advance.

Please sign in or create an account to participate in this conversation.