diff --git a/awx/ui_next/src/components/AdHocCommands/AdHocCommandsWizard.jsx b/awx/ui_next/src/components/AdHocCommands/AdHocCommandsWizard.jsx index 83eee59d88..45d7426d30 100644 --- a/awx/ui_next/src/components/AdHocCommands/AdHocCommandsWizard.jsx +++ b/awx/ui_next/src/components/AdHocCommands/AdHocCommandsWizard.jsx @@ -134,7 +134,8 @@ const FormikApp = withFormik({ FormikApp.propTypes = { onLaunch: PropTypes.func.isRequired, - moduleOptions: PropTypes.arrayOf(PropTypes.object).isRequired, + moduleOptions: PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.string)) + .isRequired, verbosityOptions: PropTypes.arrayOf(PropTypes.object).isRequired, onCloseWizard: PropTypes.func.isRequired, credentialTypeId: PropTypes.number.isRequired, diff --git a/awx/ui_next/src/components/AdHocCommands/AdHocDetailsStep.jsx b/awx/ui_next/src/components/AdHocCommands/AdHocDetailsStep.jsx index bd5fdab92c..47bc583bf3 100644 --- a/awx/ui_next/src/components/AdHocCommands/AdHocDetailsStep.jsx +++ b/awx/ui_next/src/components/AdHocCommands/AdHocDetailsStep.jsx @@ -316,7 +316,8 @@ function AdHocDetailsStep({ i18n, verbosityOptions, moduleOptions }) { } AdHocDetailsStep.propTypes = { - moduleOptions: PropTypes.arrayOf(PropTypes.object).isRequired, + moduleOptions: PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.string)) + .isRequired, verbosityOptions: PropTypes.arrayOf(PropTypes.object).isRequired, }; diff --git a/awx/ui_next/src/screens/Inventory/InventoryHosts/InventoryHostList.jsx b/awx/ui_next/src/screens/Inventory/InventoryHosts/InventoryHostList.jsx index bf25eca01f..73bd3516b0 100644 --- a/awx/ui_next/src/screens/Inventory/InventoryHosts/InventoryHostList.jsx +++ b/awx/ui_next/src/screens/Inventory/InventoryHosts/InventoryHostList.jsx @@ -231,7 +231,7 @@ function InventoryHostList({ i18n }) { onClose={() => setIsAdHocCommandsOpen(false)} credentialTypeId={credentialTypeId} moduleOptions={moduleOptions} - itemId={id} + itemId={parseInt(id, 10)} /> )} {deletionError && ( diff --git a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx index f89ba0636b..9afae3ca1d 100644 --- a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx +++ b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx @@ -239,6 +239,7 @@ function JobTemplateForm({ isRequired={!askInventoryOnLaunchField.value} >