Forms generated dynamically by vue for verification

forms generated dynamically with v-for of vue, mainly validating input

< input class= "item-input fill-input" type= "text": placeholder= "item.PLACEHOLDER" VMI model = "tempRes.Val" VMI if = "item.showInput" @ input= "fillInput" >

there are required and unnecessary

Aug.11,2021

add a required flag to the array you want to loop, and then pass this flag and this value in your fileInput method. In this method, determine whether the value is empty when it is required.

Menu