{inputLeft}
@@ -255,14 +255,14 @@ class Input extends React.Component {
}
{inputElement}
{
- secondaryLabel &&
+ secondaryLabel &&
}
- {inputHelpText &&
}
+ {helpText &&
}
{messages &&
{messages.map((m, i) => (
@@ -305,7 +305,7 @@ Input.propTypes = {
/** @prop Input css class name string | '' */
inputClassName: PropTypes.string,
/** @prop Help Text to show form validation rules | '' */
- inputHelpText: PropTypes.string,
+ helpText: PropTypes.string,
/*** @prop Optional Input ref prop type | null */
inputRef: PropTypes.func,
/** @prop Overall input wrapper size | '' */
@@ -359,7 +359,7 @@ Input.defaultProps = {
inputBefore: null,
id: null,
inputClassName: '',
- inputHelpText: '',
+ helpText: '',
inputRef: null,
inputSize: '',
isFilled: false,
diff --git a/react/src/lib/Input/tests/__snapshots__/index.spec.js.snap b/react/src/lib/Input/tests/__snapshots__/index.spec.js.snap
index 32f77d8329..4b30deec49 100644
--- a/react/src/lib/Input/tests/__snapshots__/index.spec.js.snap
+++ b/react/src/lib/Input/tests/__snapshots__/index.spec.js.snap
@@ -12,12 +12,12 @@ ShallowWrapper {
containerSize=""
defaultValue=""
disabled={false}
+ helpText=""
htmlId="1"
id={null}
inputAfter={null}
inputBefore={null}
inputClassName=""
- inputHelpText=""
inputRef={null}
inputSize=""
isFilled={false}
@@ -323,12 +323,12 @@ ShallowWrapper {
containerSize=""
defaultValue=""
disabled={false}
+ helpText=""
htmlId="1"
id={null}
inputAfter={null}
inputBefore={null}
inputClassName=""
- inputHelpText=""
inputRef={null}
inputSize=""
isFilled={false}
@@ -622,12 +622,12 @@ ShallowWrapper {
containerSize=""
defaultValue=""
disabled={false}
+ helpText=""
htmlId="1"
id={null}
inputAfter={null}
inputBefore={null}
inputClassName=""
- inputHelpText=""
inputRef={null}
inputSize=""
isFilled={false}
@@ -921,12 +921,12 @@ ShallowWrapper {
containerSize=""
defaultValue=""
disabled={false}
+ helpText=""
htmlId="1"
id={null}
inputAfter={null}
inputBefore={null}
inputClassName=""
- inputHelpText=""
inputRef={null}
inputSize=""
isFilled={false}
@@ -1220,12 +1220,12 @@ ShallowWrapper {
containerSize=""
defaultValue=""
disabled={false}
+ helpText=""
htmlId="1"
id={null}
inputAfter={null}
inputBefore={null}
inputClassName=""
- inputHelpText=""
inputRef={null}
inputSize=""
isFilled={false}
diff --git a/react/src/lib/Input/tests/index.spec.js b/react/src/lib/Input/tests/index.spec.js
index b4cb4d946b..487a5035b8 100644
--- a/react/src/lib/Input/tests/index.spec.js
+++ b/react/src/lib/Input/tests/index.spec.js
@@ -199,7 +199,7 @@ describe('tests for ', () => {
it('should render Helper Text', () => {
const container = shallow(
-
+
);
expect(container.contains()).toEqual(true);
diff --git a/react/src/lib/InputSearch/tests/__snapshots__/index.spec.js.snap b/react/src/lib/InputSearch/tests/__snapshots__/index.spec.js.snap
index 046e56737b..d7494d6ec3 100644
--- a/react/src/lib/InputSearch/tests/__snapshots__/index.spec.js.snap
+++ b/react/src/lib/InputSearch/tests/__snapshots__/index.spec.js.snap
@@ -30,6 +30,7 @@ ShallowWrapper {
"containerSize": "",
"defaultValue": "",
"disabled": false,
+ "helpText": "",
"htmlId": null,
"id": "1",
"inputAfter": null,
@@ -42,7 +43,6 @@ ShallowWrapper {
size={20}
/>,
"inputClassName": "",
- "inputHelpText": "",
"inputRef": null,
"inputSize": "",
"isFilled": false,
@@ -81,6 +81,7 @@ ShallowWrapper {
"containerSize": "",
"defaultValue": "",
"disabled": false,
+ "helpText": "",
"htmlId": null,
"id": "1",
"inputAfter": null,
@@ -93,7 +94,6 @@ ShallowWrapper {
size={20}
/>,
"inputClassName": "",
- "inputHelpText": "",
"inputRef": null,
"inputSize": "",
"isFilled": false,
@@ -178,6 +178,7 @@ ShallowWrapper {
"containerSize": "",
"defaultValue": "",
"disabled": false,
+ "helpText": "",
"htmlId": null,
"id": "1",
"inputAfter": null,
@@ -199,7 +200,6 @@ ShallowWrapper {
type=""
/>,
"inputClassName": "",
- "inputHelpText": "",
"inputRef": null,
"inputSize": "",
"isFilled": false,
@@ -238,6 +238,7 @@ ShallowWrapper {
"containerSize": "",
"defaultValue": "",
"disabled": false,
+ "helpText": "",
"htmlId": null,
"id": "1",
"inputAfter": null,
@@ -259,7 +260,6 @@ ShallowWrapper {
type=""
/>,
"inputClassName": "",
- "inputHelpText": "",
"inputRef": null,
"inputSize": "",
"isFilled": false,
@@ -345,6 +345,7 @@ ShallowWrapper {
"containerSize": "",
"defaultValue": "",
"disabled": false,
+ "helpText": "",
"htmlId": null,
"id": "1",
"inputAfter": null,
@@ -366,7 +367,6 @@ ShallowWrapper {
type=""
/>,
"inputClassName": "",
- "inputHelpText": "",
"inputRef": null,
"inputSize": "",
"isFilled": false,
@@ -405,6 +405,7 @@ ShallowWrapper {
"containerSize": "",
"defaultValue": "",
"disabled": false,
+ "helpText": "",
"htmlId": null,
"id": "1",
"inputAfter": null,
@@ -426,7 +427,6 @@ ShallowWrapper {
type=""
/>,
"inputClassName": "",
- "inputHelpText": "",
"inputRef": null,
"inputSize": "",
"isFilled": false,
diff --git a/react/src/lib/ModalBody/examples/Default.js b/react/src/lib/ModalBody/examples/Default.js
index c4fd62ff75..9605a75eba 100644
--- a/react/src/lib/ModalBody/examples/Default.js
+++ b/react/src/lib/ModalBody/examples/Default.js
@@ -14,7 +14,7 @@ export default function ModalBodyDefault() {
disabled
placeholder="Disabled Input"
onChange={() => {}}
- inputHelpText="Field Must be Disabled"
+ helpText="Field Must be Disabled"
messageArr={[]}
/>
diff --git a/react/src/lib/TimePicker/tests/__snapshots__/index.spec.js.snap b/react/src/lib/TimePicker/tests/__snapshots__/index.spec.js.snap
index 03519967fa..0daab32e87 100644
--- a/react/src/lib/TimePicker/tests/__snapshots__/index.spec.js.snap
+++ b/react/src/lib/TimePicker/tests/__snapshots__/index.spec.js.snap
@@ -36,12 +36,12 @@ ShallowWrapper {
containerSize=""
defaultValue=""
disabled={false}
+ helpText=""
htmlId={null}
id="md-timepicker__input-1"
inputAfter={null}
inputBefore={null}
inputClassName=""
- inputHelpText=""
inputRef={[Function]}
inputSize=""
isFilled={false}
@@ -81,12 +81,12 @@ ShallowWrapper {
"containerSize": "",
"defaultValue": "",
"disabled": false,
+ "helpText": "",
"htmlId": null,
"id": "md-timepicker__input-1",
"inputAfter": null,
"inputBefore": null,
"inputClassName": "",
- "inputHelpText": "",
"inputRef": [Function],
"inputSize": "",
"isFilled": false,
@@ -131,12 +131,12 @@ ShallowWrapper {
containerSize=""
defaultValue=""
disabled={false}
+ helpText=""
htmlId={null}
id="md-timepicker__input-1"
inputAfter={null}
inputBefore={null}
inputClassName=""
- inputHelpText=""
inputRef={[Function]}
inputSize=""
isFilled={false}
@@ -176,12 +176,12 @@ ShallowWrapper {
"containerSize": "",
"defaultValue": "",
"disabled": false,
+ "helpText": "",
"htmlId": null,
"id": "md-timepicker__input-1",
"inputAfter": null,
"inputBefore": null,
"inputClassName": "",
- "inputHelpText": "",
"inputRef": [Function],
"inputSize": "",
"isFilled": false,