rajeshdewle / otp-pin-using-alpine-js-and-tailwindcss

13 stars 3 forks source link

Script is failing in alphinejs v3. undefined this.$refs[i].value, It seems value initialisation issue #1

Open AliAmazone opened 3 years ago

adityakdevin commented 1 year ago

Same issue

d3v1an7 commented 9 months ago

This is due to https://alpinejs.dev/magics/refs#limitations. I'll chuck together an alternative using Alpine 3 and send along a PR :) Edit: Added PR here