0
Good afternoon, everyone,
I have the following html:
<template>
<div v-if="!visibleForm" style="min-height: 793px;">
// conteúdo ....
</div>
<div v-else-if="visibleForm">
<fieldset v-if="textoTipo === 'Efg'">
<form-validacao1 :params="param"></form-validacao1>
</fieldset>
<fieldset v-if="textoTipo === 'Abc'">
<form-validacao2 :params="param"></form-validacao2>
</fieldset>
</div>
</template>
In summary I need to show a div according to the parameter and after showing the second one, show the fieldsets according to a parameter
Oops, what’s going on when you’re doing it this way?
– André Lins
Brings nothing... If I take the if s from the fieldset brings me normally
– user145335
What version of Vue? v-Else-if is supported starting with version 2.1.0. Post all the code that surrounds the functionality thus gives to test. Edit now that your comment has appeared, it is not showing the fieldsets pq the two ifs must be giving false
– rnd_rss