File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -188,17 +188,17 @@ class SLDSLookup extends React.Component {
188
188
return (
189
189
< div className = { componentClasses } data-select = "single" data-scope = "single" data-typeahead = "true" >
190
190
< section className = "slds-form-element" >
191
- < label className = "slds-form-element__label" forHTML = "lookup" > { this . props . label } </ label >
191
+
192
+ < label className = "slds-form-element__label" htmlFor = { this . props . type + "Lookup" } > { this . props . label } </ label >
192
193
193
194
< div className = "slds-lookup__control slds-input-has-icon slds-input-has-icon--right" >
194
195
{ this . state . selectedIndex !== null ? this . renderSelectedItem ( ) : null }
195
196
< InputIcon name = "search" />
196
197
< input
197
- id = "lookup"
198
+ id = { this . props . type + "Lookup" }
198
199
ref = "lookup"
199
200
className = { inputClasses }
200
201
type = "text"
201
- aria-label = "lookup"
202
202
aria-haspopup = "true"
203
203
aria-autocomplete = "list"
204
204
aria-activedescendant = { this . state . currentFocus ? this . state . currentFocus :"" }
You can’t perform that action at this time.
0 commit comments