Skip to content

Commit 773e6d9

Browse files
Merge pull request salesforce#1511 from garygong/input-warning
Fix incorrect warning in Input
2 parents 41ffa47 + b509f1e commit 773e6d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/input/check-props.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if (process.env.NODE_ENV !== 'production') {
6262
}
6363

6464
onlyOneOfProperties(COMPONENT, {
65-
assistiveText: props.assistiveText,
65+
'assistiveText.label': props.assistiveText && props.assistiveText.label,
6666
label: props.label,
6767
});
6868

0 commit comments

Comments
 (0)