billowy-pharmacist-61146
03/22/2023, 7:14 AMinput element. I can't find the way to mount it with v-model (or modelValue + @update).
I've tried this unsuccessfully :
cy.mount(MyField, {
props: {
modelValue: email,
onUpdate: (val: string) => (email = val),
'onUpdate:modelValue': (val: string) => (email = val),
'onUpdate:model-value': (val: string) => (email = val),
},
})
Thanks !billowy-pharmacist-61146
03/22/2023, 7:21 AM'onUpdate:modelValue' is trigerred, email is updated in the test, but the value is not updated in the component.billowy-pharmacist-61146
03/22/2023, 7:24 AMconst email = ref<string>('') ), it's not unwrapped in the component, i see [object Object]