v-if condition does not trigger a value in my form event

I am using a select structure with Vue. There is a v-if condition in this structure. A form opens depending on the condition.
The opened forms should have “novaildate=”true””, but this does not happen with “novaildate=”novalidate””, but in the select structure
When I remove the v-if condition, it becomes “novaildate=”true”” and this is what it should be, what am I doing wrong?here

How to make the form work properly without removing the v-if condition

  • Please edit your question to include your code in your question, not as an image. Also, can you further elaborate on the value of novalidate somehow changing? Are you binding a variable to it, or what do you mean it goes from string value ‘true’ to string value ‘novalidate’? Is the string value not hard-coded? Do you have some logic that sets or changes it?

    – 

Leave a Comment