Changed RO Search Select to use RO searching and possible provided job value for options IMEX-129 IMEX-327

This commit is contained in:
Patrick Fic
2020-08-26 16:15:17 -07:00
parent 69f2b66e56
commit 721c938e8a
20 changed files with 193 additions and 109 deletions

View File

@@ -13,12 +13,7 @@ const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
});
export function PaymentFormComponent({
form,
roAutoCompleteOptions,
stripeStateArr,
bodyshop,
}) {
export function PaymentFormComponent({ form, stripeStateArr, bodyshop }) {
const [stripeState, setStripeState] = stripeStateArr;
const { t } = useTranslation();
@@ -38,7 +33,7 @@ export function PaymentFormComponent({
},
]}
>
<JobSearchSelect options={roAutoCompleteOptions} />
<JobSearchSelect />
</Form.Item>
<Form.Item
label={t("payments.fields.amount")}