When dealing with third-party DOM libraries you might need access to the actual DOM element.
By specifying ref="email" on the input field, we get access to the DOM field using this.$refs.email.
ref="email"
this.$refs.email
Try adding a ref to the submit button and when click, alert its attribute data-id.
data-id