Skip to content

Commit 49882c1

Browse files
committed
Update MetadataForm.tsx
1 parent e58125b commit 49882c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Dialogs/MetadataForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export function MetadataForm({
5656
const selectedOption = event.detail.selectedOption as HTMLElement;
5757
const value = selectedOption.dataset.value ?? '';
5858
setValue('chargingTargetType', value, { shouldValidate: true, shouldDirty: true });
59+
setValue('chargingTarget', '', { shouldValidate: false, shouldDirty: true });
5960
};
6061

6162
const chargingTypes: SelectOption[] = [

0 commit comments

Comments
 (0)