Skip to content

Commit 2940d93

Browse files
authored
Fix testID duplication (#949)
1 parent 3506eec commit 2940d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/textField/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ export default class TextField extends BaseInput {
504504
return renderExpandable(this.getThemeProps(), this.state);
505505
}
506506

507-
const textInputProps = TextField.extractOwnProps(this.props, 'error');
507+
const textInputProps = TextField.extractOwnProps(this.props, ['error', 'testID']);
508508

509509
return (
510510
<Modal

0 commit comments

Comments
 (0)