Skip to content

Commit 7f3127f

Browse files
author
Dmitry Misharov
committed
Added data-ouia-component-ns attribute
1 parent 52afa0c commit 7f3127f

File tree

1 file changed

+2
-1
lines changed
  • packages/patternfly-4/react-core/src/components/TextInput

1 file changed

+2
-1
lines changed

packages/patternfly-4/react-core/src/components/TextInput/TextInput.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ class TextInputBase extends React.Component<TextInputProps & InjectedOuiaProps>
118118
readOnly={isReadOnly}
119119
ref={innerRef}
120120
{...(ouiaContext.isOuia && {
121-
'data-ouia-component-type': 'PF4/TextInput',
121+
'data-ouia-component-type': 'TextInput',
122+
'data-ouia-component-ns': 'PF4',
122123
'data-ouia-component-id': ouiaId || ouiaContext.ouiaId
123124
})}
124125
/>

0 commit comments

Comments
 (0)