How to validate multiple inputs under the same field with Oruga Addons #4383
Replies: 3 comments 2 replies
-
In v4, you cannot have multiple different fields with different values that have the same name. Either they should share the same value or they should get different names. Why do you need two inputs with the same name? as far as I can see you have two fields, |
Beta Was this translation helpful? Give feedback.
-
Mostly the same happens also with Bulma, where you have: <div class="field has-addons">
<p class="control">
<span class="select">
<select>
<option>$</option>
<option>£</option>
<option>€</option>
</select>
</span>
</p>
<p class="control">
<input class="input" type="text" placeholder="Amount of money">
</p>
<p class="control">
<a class="button">
Transfer
</a>
</p>
</div> |
Beta Was this translation helpful? Give feedback.
-
Any idea how to solve this @logaretm ? |
Beta Was this translation helpful? Give feedback.
-
Reading this issue I was able to use vee-validate with Oruga, as follows:
However, I can't figure out how to implement the validation if I want to have the two inputs under the same field with oruga addons like so:
Can someone point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions