Closed zshlomyz closed 3 years ago
Hi, In order to support setting the input type, it only required to change the type prop of getCardNumberProps (ln 159):
type: props.type || 'tel',
and then it can be configured like this:
{...getCardNumberProps({ onChange: handleChangeCardNumber, type: "password" })}
Can you provide me a contributing permission please? Thanks
I've opened a PR for that - https://github.com/medipass/react-payment-inputs/pull/66
Hi, In order to support setting the input type, it only required to change the type prop of getCardNumberProps (ln 159):
and then it can be configured like this:
Can you provide me a contributing permission please? Thanks