From 8e2622d1176880e2e1369d327fe81db19ca9c313 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Thu, 17 Oct 2019 10:55:37 -0700 Subject: [PATCH] add error messages for InventorySelect --- .../src/components/Lookup/InventoryLookup.jsx | 12 +++++++++++- .../src/screens/Template/shared/JobTemplateForm.jsx | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/awx/ui_next/src/components/Lookup/InventoryLookup.jsx b/awx/ui_next/src/components/Lookup/InventoryLookup.jsx index a974f913f2..1fda150cb5 100644 --- a/awx/ui_next/src/components/Lookup/InventoryLookup.jsx +++ b/awx/ui_next/src/components/Lookup/InventoryLookup.jsx @@ -12,13 +12,23 @@ const getInventories = async params => InventoriesAPI.read(params); class InventoryLookup extends React.Component { render() { - const { value, tooltip, onChange, required, i18n } = this.props; + const { + value, + tooltip, + onChange, + required, + isValid, + helperTextInvalid, + i18n, + } = this.props; return ( {tooltip && } )}