diff --git a/src/usePaymentInputs.js b/src/usePaymentInputs.js index 8398b93..012912d 100644 --- a/src/usePaymentInputs.js +++ b/src/usePaymentInputs.js @@ -156,7 +156,7 @@ export default function usePaymentCard({ id: 'cardNumber', name: 'cardNumber', placeholder: 'Card number', - type: 'tel', + type: props.type || 'tel', [refKey || 'ref']: cardNumberField, ...props, onBlur: handleBlurCardNumber(props),