Closed Talkwondo closed 2 months ago
this should be a stackoverflow question, not a ticket, but i'll answer for help:
// inside render
<CreditCardInput onChange={this._onCreditCardChanged} />
// outside render(){...}
private _onCreditCardChanged = (result) => {
console.log(result);
};
look at the log when running app.
Hi, I probably missed something. can someone explain how to handle on change prop? If i want to extract the number and the other fields to state object.
Thanks,