implementation #1

Open
gaiety wants to merge 11 commits from implementation into main
Showing only changes of commit 71c24d1cec - Show all commits

View file

@ -81,9 +81,9 @@ function BandForm({ band }) {
type="text"
/>
</div>
{/* TODO: third party library address verification */}
<input
required
{/* TODO: third party library address verification */}
name="address"
label="Address"
placeholder="Address"
@ -94,10 +94,10 @@ function BandForm({ band }) {
<fieldset className="payment">
<legend>Payment Details</legend>
{/* TODO: regex pattern */}
Review

Need to test this with an actual screenreader. Should announce when prices change so the user is aware how much their "cart" costs.

Need to test this with an actual screenreader. Should announce when prices change so the user is aware how much their "cart" costs.
<IMaskInput
required
mask="0000 0000 0000 0000"
{/* TODO: regex pattern */}
name="cardNumber"
label="Card Number"
Review

All of these should have autocomplete properties for easier autofill.

All of these should have `autocomplete` properties for easier autofill.
placeholder="0000 0000 0000 0000"
@ -105,9 +105,9 @@ function BandForm({ band }) {
></IMaskInput>
<div className="form-row">
{/* TODO: regex pattern */}
<IMaskInput
required
{/* TODO: regex pattern */}
mask="00 / 00"
pattern="\d*"
name="cardExpiration"
@ -116,9 +116,9 @@ function BandForm({ band }) {
type="text"
></IMaskInput>
{/* TODO: regex pattern */}
<IMaskInput
required
{/* TODO: regex pattern */}
mask={Number}
name="cardCVV"
label="Card CVV"