-
Notifications
You must be signed in to change notification settings - Fork 299
Closed
Labels
CardFormblockedDon't start work on this until label is removedDon't start work on this until label is removedenhancementNew feature or requestNew feature or request
Description
Context
I've updated @stripe/stripe-react-native package to v.0.2.0 in order to use CardForm component so that I can use a multi-line form instead of having it on one line.
Issue
I can't remove postal code input and country input.
I can see on the source code here that unlike CardField component, I cannot put postalCodeEnabled to false. Plus I can't see where to remove country field.
I saw that on line 79, you're doing ...props but even though I'm putting postalCodeEnabled to false it's not working
Code I'm using
const StripeCardForm = ({ onFormComplete }) => (
<CardForm
postalCodeEnabled={false}
onFormComplete={onFormComplete}
/>
);Solution I'd liked
Have the possibility to remove postal code input and country input.
Thanks a lot for taking your time answering my issue
jimhill, CaM2091, tucoinfo, nuhman6281, neiker and 4 more
Metadata
Metadata
Assignees
Labels
CardFormblockedDon't start work on this until label is removedDon't start work on this until label is removedenhancementNew feature or requestNew feature or request
