Subscribe on changes!

Ref on prop in mergeProps doesn't update

avatar
Oct 8th 2021

Version

3.2.19

Reproduction link

sfc.vuejs.org/

Steps to reproduce

See SFC Playground.

What is expected?

The input border color should be red (error class should be added).

What is actually happening?

The input border color stays black and there is no error class appended to the input class list.

avatar
Oct 8th 2021

This is expected, you need to put the mergeProps inside a computed