Incorporating a <v-text-field>
to collect user email addresses, I must append the ym-record-keys
CSS class to the HTML <input>
element in accordance with the Yandex Metrica guideline. My attempt resulted in the class being added to the parent div instead. How can I successfully add the ym-record-keys
class to the input element?
<v-text-field
v-model="item.customer.mail"
type="email"
:rules="emailRules"
hide-details="auto"
class="ym-record-keys"
solo
>
</v-text-field>
https://i.sstatic.net/1fAlF.png
The desired output should be:
<input id="input-1055" type="email" class="ym-record-keys">