mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix(webapp): customer/vendor select should update deps
This commit is contained in:
@@ -140,7 +140,8 @@ function ExpenseFormCustomerSelect() {
|
||||
labelInfo={<Hint />}
|
||||
inline={true}
|
||||
name={'customer_id'}
|
||||
customers={customers}
|
||||
fastField={true}
|
||||
shouldUpdateDeps={{ items: customers }}
|
||||
shouldUpdate={customersFieldShouldUpdate}
|
||||
>
|
||||
<CustomersSelect
|
||||
@@ -149,6 +150,9 @@ function ExpenseFormCustomerSelect() {
|
||||
placeholder={<T id={'select_customer_account'} />}
|
||||
allowCreate={true}
|
||||
popoverFill={true}
|
||||
fastField={true}
|
||||
shouldUpdateDeps={{ items: customers }}
|
||||
shouldUpdate={customersFieldShouldUpdate}
|
||||
/>
|
||||
</FormGroup>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user