Fix disabled button with AccountSelect

This commit is contained in:
elforjani3
2020-11-02 17:16:50 +02:00
parent 28fe1c25e6
commit 5b32d8fe7d
5 changed files with 17 additions and 10 deletions

View File

@@ -282,7 +282,7 @@ function AccountFormDialogContent({
selectedTypeId={values.account_type_id}
defaultSelectText={<T id={'select_account_type'} />}
onTypeSelected={onChangeAccountType}
buttonProps={{ disabled: action === 'edit' }}
disabled={action === 'edit'}
popoverProps={{ minimal: true }}
/>
</FormGroup>