[Issue][MazPhoneNumberInput] Problem when using multiple instances of the component
luis-agilstore opened this issue · 1 comments
luis-agilstore commented
Describe the bug
When applying the component within V-for in VUEJS, the values of all items in the array are replicated equally, even the objects passed have different refs.
The array is filled dynamically based on unique objects that do not share the same memory reference based on the structure { phoneNumber: '', phone: '', indicator: '', default: false, error: false }
. Only the "phoneNnumber" value is passed in v-model and the rest are updated in @update
event.
To Reproduce
Steps to reproduce the behavior:
- Create an array of elements using the v-model
- Dynamically add new items to the array
- Fill in the phone number in the component
Expected behavior
It was expected to support multiple component calls without affecting other instances
Screenshots
Desktop
- OS: Window 11 (23H2)
- Browser: Google Chrome
- Version 123.0.6312.106
LouisMazel commented
Hi @luis-agilstore,
The bug is fixed in v3.37.6.