i have the following code:
<v-text-field
type="text"
label="Impression Caps Daily"
v-model="impressionCapDaily"
:disabled="campaign.impressionCapsDynamicActive"
name="impression-caps-daily"
>
</v-text-field>
get impressionCapDaily() {
return this.campaign.impressionCapDaily
}
set impressionCapDaily(items) {
console.log((Number(items).toLocaleString()))
this.campaign.impressionCapDaily=Number(items).toLocaleString()
}
if for example i put more than x,000 it returns Nan so for example 50000 will return Nan instead of 50,000. if I put 5000 it will be fine and turn to 5,000 I am not sure that happens