Prefilled fields doesnt' emit events
See original GitHub issueGeneral information
- SDK version: 3.27.0, using hosted fields
- Environment: Sandbox
- Browser and OS: Windows 10. Chrome Versión 68.0.3440.106 (Build oficial) (64 bits)
Issue description
Prefilled fields seems to not emit events.
I need to prefill Expiration Month and Expiration Year to show Customer’s credit card information. That information should be able to be changed in the future, so When the customer make any change I need to register this event. Strangely , these fields above are not capable of emitting any type of event when modified.
creditCardFormConfig() {
return {
fields: {
number: {
selector: '#card-number',
placeholder: 'xxxx xxxx xxxx '.concat(this.last4),
},
cvv: {
selector: '#cvv',
placeholder: 'Never Stored',
},
expirationMonth: {
selector: '#expiration-month',
placeholder: 'Expiration month',
select: {
options: this.monthOptions,
},
prefill: '07',
},
expirationYear: {
selector: '#expiration-year',
placeholder: 'Expiration year',
select: true,
prefill: '2031',
},
},
};
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Autofill does not trigger onChange - Stack Overflow
I have a login form, when the page is opened, Chrome automatically fills the credentials. However, onChange event of input elements are not ......
Read more >Form doesn't detect prefilled data on onChange events #25398
The fields should detect the prefilled data and show VALID once any change event is triggered. What is the motivation / use case...
Read more >LiveView phx-change attribute does not emit event on input text
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each...
Read more >How to Pre Fill Form Fields with Google Tag Manager - YouTube
http://measureschool.com/emailportAsking users to repeatedly fill in form fields can get in the way of user experience and even lower ...
Read more >Why are my prefill fields not being saved to Airtable after ...
If the prefill fields are not part of the form, enable prefilling hidden fields. Tip. The first step in troubleshooting a hidden prefill...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good to know, thanks @manujimenez23! We’ll update you when we know more!
I’ve edited your comment to make the code snippet easier to read.
Did a quick check, and I was getting events firing for all the fields with prefills in them. Can you provide your event handling logic?