I try to display errors that I get from request, on validation.
But I get an error:
Cannot read property 'saleforce_id' of undefined
That's how my errors look like.
<b-form-group label="Saleforce Id">
<b-form-input
id="saleforce_id-input"
v-model="saleforce_id"
:class="{'is-invalid':errors.all_values.saleforce_id, 'is-valid':(!errors.all_values.saleforce_id && saleforce_id !== '')}"
></b-form-input>
<div class="invalid-feedback">
<span v-if="errors.all_values.saleforce_id">{{errors.all_values.saleforce_id[0]}}</span>
</div>
</b-form-group>
