On the core donation form component, you can enable a default amount (which sets to the second amount), but its not clear to me how to recreate this functionality within this custom component? Is this a quick code adjustment on the following line that will help do that?
|
...setupDonationFormState(this.props), |
On the core donation form component, you can enable a default amount (which sets to the second amount), but its not clear to me how to recreate this functionality within this custom component? Is this a quick code adjustment on the following line that will help do that?
component-templates/donation-form/donation-form.js
Line 512 in 8a68f9d