aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/configurationApp/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/configurationApp/src/components')
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/components/uiElementSelection.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/components/uiElementSelection.tsx b/sdnr/wt/odlux/apps/configurationApp/src/components/uiElementSelection.tsx
index 7ca9ae36b..fdf803419 100644
--- a/sdnr/wt/odlux/apps/configurationApp/src/components/uiElementSelection.tsx
+++ b/sdnr/wt/odlux/apps/configurationApp/src/components/uiElementSelection.tsx
@@ -28,8 +28,8 @@ export const UiElementSelection = (props: selectionProps) => {
const element = props.value as ViewElementSelection;
let error = "";
- const value = String(props.inputValue).toLowerCase();
- if (element.mandatory && !!value) {
+ const value = String(props.inputValue);
+ if (element.mandatory && Boolean(!value)) {
error = "Error";
}
@@ -42,7 +42,7 @@ export const UiElementSelection = (props: selectionProps) => {
onChange={(e) => { props.onChange(e.target.value as string) }}
readOnly={props.readOnly}
disabled={props.disabled}
- value={value.toString().toLowerCase()}
+ value={value.toString()}
aria-label={element.label+'-selection'}
inputProps={{
name: element.id,