Open zshlomyz opened 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" })}
Thanks
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:
Thanks