-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
i can't catch event onKeyDown in props,
<CreditCardInput
cardNumberInputProps={{ value: this.state.cardNumber, onChange: this.handleCardNumberChange }}
cardExpiryInputProps={{ value: this.state.expiry, onChange: this.handleCardExpiryChange }}
cardCVCInputProps={{ value: this.state.cvv, onChange: this.handleCardcvvChange }}
// fieldClassName="form-group w-100"
inputClassName="form-control-amz mt-2"
customTextLabels={{
cardNumberPlaceholder: '000-0000-0000-0000'
}}
onKeyDown={(e) => this.handleKeyEnterPressed(e)} // not working
/>
Metadata
Metadata
Assignees
Labels
No labels