Card number - support setting the input type
Closed this issue · 1 comments
zshlomyz commented
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