vue-tel-input icon indicating copy to clipboard operation
vue-tel-input copied to clipboard

After entering more than 10 numbers on a US phone number, the component breaks and will not allow further editing of a number

Open MorningPants opened this issue 1 year ago • 4 comments

Demo: https://stackblitz.com/edit/vitejs-vite-o3gpsv?file=src%2FApp.vue

The console logs, "Uncaught (in promise) Maximum recursive updates exceeded in component <App>. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function."

MorningPants avatar May 07 '24 19:05 MorningPants

I am having the same issue, regardless of country. Downgrading to 8.3.1, as it seems to be the most stable in my case.

jdbacero avatar May 08 '24 11:05 jdbacero

Update: setting the prop mode to international fixes the issue.

jdbacero avatar May 08 '24 15:05 jdbacero

Apparently this is due to how a particular compute value is being handled if mode is set to auto which is the default value.

jdbacero avatar May 09 '24 01:05 jdbacero

I merged your fix @jdbacero . could you guys try v9.1.1?

iamstevendao avatar May 09 '24 03:05 iamstevendao