Closed gustavoluisti closed 1 year ago
You have a few options if you'd like to tweak things regarding postal code:
To change default loading, you are going to have to fork or use our full SDK
closing due to inactivity. Feel free to make a new issue if there are any remaining issues
Good afternoon, I'm using the lib with Reactjs 18.2.0 and it's showing the postal code, I would like to know how to remove this option, here in Brazil we don't use the postal code
I would also like to know how we can change the default loading of the tool
if (token) { const initializeBraintree = () => dropin.create({ locale: 'pt_PT', card: { cardholderName: { required: true, }, }, authorization:
${token}
, container: '#braintree-drop-in-div', }, (error, instance) => { if (error) console.error(error) else setBraintreeInstance(instance); }); if (braintreeInstance) { braintreeInstance .teardown() .then(() => { initializeBraintree(); }); } else { initializeBraintree(); } }