File tree Expand file tree Collapse file tree 6 files changed +18
-18
lines changed
packages/venia-ui/lib/components
FilterModal/CurrentFilters Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const CreateAccount = props => {
4646 < Button
4747 data-cy = "CreateAccount-cancelButton"
4848 className = { classes . cancelButton }
49- disabled = { isDisabled }
49+ disabled = { Boolean ( isDisabled ) }
5050 type = "button"
5151 priority = "low"
5252 onClick = { handleCancel }
@@ -62,7 +62,7 @@ const CreateAccount = props => {
6262 const submitButton = (
6363 < Button
6464 className = { classes . submitButton }
65- disabled = { isDisabled }
65+ disabled = { Boolean ( isDisabled ) }
6666 type = "submit"
6767 priority = "high"
6868 onKeyDown = { handleEnterKeyPress }
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ const CurrentFilter = props => {
4444 < span className = { classes . root } data-cy = "CurrentFilter-root" >
4545 < Trigger
4646 action = { handleClick }
47- ariaLabel = { ariaLabel }
47+ aria-label = { ariaLabel }
4848 data-cy = "CurrentFilter-trigger"
4949 >
5050 < Icon size = { 20 } src = { Remove } />
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ exports[`#Newsletter display renders correctly 1`] = `
3939 >
4040 <label
4141 className = " label"
42- htmlFor = " email "
42+ htmlFor = " emailNews "
4343 >
4444 Email
4545 </label >
@@ -58,7 +58,7 @@ exports[`#Newsletter display renders correctly 1`] = `
5858 <input
5959 autoComplete = " email"
6060 className = " input"
61- id = " email "
61+ id = " emailNews "
6262 name = " email"
6363 onBlur = { [Function ]}
6464 onChange = { [Function ]}
@@ -126,7 +126,7 @@ exports[`#Newsletter submit displays an error message if the email already subsc
126126 >
127127 <label
128128 className = " label"
129- htmlFor = " email "
129+ htmlFor = " emailNews "
130130 >
131131 Email
132132 </label >
@@ -145,7 +145,7 @@ exports[`#Newsletter submit displays an error message if the email already subsc
145145 <input
146146 autoComplete = " email"
147147 className = " input"
148- id = " email "
148+ id = " emailNews "
149149 name = " email"
150150 onBlur = { [Function ]}
151151 onChange = { [Function ]}
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ const Newsletter = props => {
9696 onSubmit = { handleSubmit }
9797 >
9898 < Field
99- id = "email "
99+ id = "emailNews "
100100 label = { formatMessage ( {
101101 id : 'global.email' ,
102102 defaultMessage : 'Email'
@@ -105,7 +105,7 @@ const Newsletter = props => {
105105 < TextInput
106106 autoComplete = "email"
107107 field = "email"
108- id = "email "
108+ id = "emailNews "
109109 validate = { isRequired }
110110 />
111111 </ Field >
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ exports[`displays an error message if there is a sign in error 1`] = `
3737 >
3838 <label
3939 className = " label"
40- htmlFor = " email "
40+ htmlFor = " emailSignIn "
4141 >
4242 Email address
4343 </label >
@@ -57,7 +57,7 @@ exports[`displays an error message if there is a sign in error 1`] = `
5757 aria-label = " Email Required"
5858 autoComplete = " email"
5959 className = " input"
60- id = " email "
60+ id = " emailSignIn "
6161 name = " email"
6262 onBlur = { [Function ]}
6363 onChange = { [Function ]}
@@ -169,7 +169,7 @@ exports[`renders correctly 1`] = `
169169 >
170170 <label
171171 className = " label"
172- htmlFor = " email "
172+ htmlFor = " emailSignIn "
173173 >
174174 Email address
175175 </label >
@@ -189,7 +189,7 @@ exports[`renders correctly 1`] = `
189189 aria-label = " Email Required"
190190 autoComplete = " email"
191191 className = " input"
192- id = " email "
192+ id = " emailSignIn "
193193 name = " email"
194194 onBlur = { [Function ]}
195195 onChange = { [Function ]}
@@ -301,7 +301,7 @@ exports[`renders prefilled form with initial values 1`] = `
301301 >
302302 <label
303303 className = " label"
304- htmlFor = " email "
304+ htmlFor = " emailSignIn "
305305 >
306306 Email address
307307 </label >
@@ -321,7 +321,7 @@ exports[`renders prefilled form with initial values 1`] = `
321321 aria-label = " Email Required"
322322 autoComplete = " email"
323323 className = " input"
324- id = " email "
324+ id = " emailSignIn "
325325 name = " email"
326326 onBlur = { [Function ]}
327327 onChange = { [Function ]}
Original file line number Diff line number Diff line change @@ -67,14 +67,14 @@ const SignIn = props => {
6767 initialValues = { initialValues && initialValues }
6868 >
6969 < Field
70- id = "email "
70+ id = "emailSignIn "
7171 label = { formatMessage ( {
7272 id : 'signIn.emailAddressText' ,
7373 defaultMessage : 'Email address'
7474 } ) }
7575 >
7676 < TextInput
77- id = "email "
77+ id = "emailSignIn "
7878 data-cy = "SignIn-email"
7979 autoComplete = "email"
8080 field = "email"
@@ -124,7 +124,7 @@ const SignIn = props => {
124124 type = "submit"
125125 onKeyDown = { signinHandleEnterKeyPress }
126126 data-cy = "SignInButton-root_highPriority"
127- disabled = { isBusy }
127+ disabled = { Boolean ( isBusy ) }
128128 >
129129 < FormattedMessage
130130 id = { 'signIn.signInText' }
You can’t perform that action at this time.
0 commit comments