We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86da842 commit 207486dCopy full SHA for 207486d
src/components/Dialogs/MetadataForm.tsx
@@ -31,6 +31,9 @@ export function MetadataForm({
31
const handleChargingTargetTypeChange = (event: Ui5CustomEvent<SelectDomRef, { selectedOption: HTMLElement }>) => {
32
const selectedOption = event.detail.selectedOption as HTMLElement;
33
setValue('chargingTargetType', selectedOption.dataset.value);
34
+ if (selectedOption.dataset.value === '') {
35
+ setValue('chargingTarget', '');
36
+ }
37
};
38
const chargingTypes: SelectOption[] = [
39
...(!requireChargingTarget ? [{ label: t('common.notSelected'), value: '' }] : []),
0 commit comments