From 6f7bbf958e8449c5a751ee90f5db360d78e73562 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 21 Aug 2019 12:51:16 -0600 Subject: [PATCH] Remove tooltipClassName from the Field's input React doesn't want the property on the , so we'll take it off. --- src/components/views/elements/Field.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/elements/Field.js b/src/components/views/elements/Field.js index d79b230569..08a578b963 100644 --- a/src/components/views/elements/Field.js +++ b/src/components/views/elements/Field.js @@ -144,7 +144,7 @@ export default class Field extends React.PureComponent { render() { const { element, prefix, onValidate, children, tooltipContent, flagInvalid, - ...inputProps} = this.props; + tooltipClassName, ...inputProps} = this.props; const inputElement = element || "input"; @@ -180,7 +180,7 @@ export default class Field extends React.PureComponent { const Tooltip = sdk.getComponent("elements.Tooltip"); let fieldTooltip; if (tooltipContent || this.state.feedback) { - const addlClassName = this.props.tooltipClassName ? this.props.tooltipClassName : ''; + const addlClassName = tooltipClassName ? tooltipClassName : ''; fieldTooltip =