[Vuejs]-Vue 3: Field is not updating value

3๐Ÿ‘

โœ…

In the following line, youโ€™re incorrectly overwriting the ref with a literal:

tradeSizeFactor = data.data.settings.tradeSizeFactor;
^^^^^^^^^^^^^^^

tradeSizeFactor is a ref, so the value must be changed via its value property:

tradeSizeFactor.value = data.data.settings.tradeSizeFactor;
                  ๐Ÿ‘†
๐Ÿ‘คtony19

Leave a comment