diff options
author | KAPIL SINGAL <ks220y@att.com> | 2020-11-30 19:21:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-11-30 19:21:57 +0000 |
commit | 640c4e96c0ea3bff8932436ab8227c89912b72f9 (patch) | |
tree | 820c609551fb3bdfd04fc9a5145b51e7479c2b9c /sdnr/wt/odlux/apps/configurationApp/src/components/ifWhenTextInput.tsx | |
parent | 1bd16a48a72f22a1e3f6bb7ca0aac8e0bfa2b8fa (diff) | |
parent | c6f98d59285656f179eea80662e86f7cf5329e59 (diff) |
Merge "Add aria-labels"
Diffstat (limited to 'sdnr/wt/odlux/apps/configurationApp/src/components/ifWhenTextInput.tsx')
-rw-r--r-- | sdnr/wt/odlux/apps/configurationApp/src/components/ifWhenTextInput.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/components/ifWhenTextInput.tsx b/sdnr/wt/odlux/apps/configurationApp/src/components/ifWhenTextInput.tsx index 62ddeb22d..56ec8dfd0 100644 --- a/sdnr/wt/odlux/apps/configurationApp/src/components/ifWhenTextInput.tsx +++ b/sdnr/wt/odlux/apps/configurationApp/src/components/ifWhenTextInput.tsx @@ -75,7 +75,7 @@ export const IfWhenTextInput = (props: IfwhenProps) => { return ( <FormControl error={error} style={style}> <InputLabel htmlFor={id} >{label}</InputLabel> - <Input id={id} endAdornment={<div>{ifFeature}{whenFeature}</div>} {...otherProps} /> + <Input id={id} inputProps={{'aria-label': label+'-input'}} endAdornment={<div>{ifFeature}{whenFeature}</div>} {...otherProps} /> <FormHelperText>{errorText}</FormHelperText> </FormControl> ); |