diff --git a/wegas-app/src/main/node/wegas-react/src/Components/PageComponents/Inputs/Select.component.tsx b/wegas-app/src/main/node/wegas-react/src/Components/PageComponents/Inputs/Select.component.tsx index 559e6e621f..71c2315487 100644 --- a/wegas-app/src/main/node/wegas-react/src/Components/PageComponents/Inputs/Select.component.tsx +++ b/wegas-app/src/main/node/wegas-react/src/Components/PageComponents/Inputs/Select.component.tsx @@ -63,10 +63,12 @@ function PlayerSelectInput({ ); const value = useStore( - () => - (descriptor != null && typeof descriptor === 'object' + () => { + const v = (descriptor != null && typeof descriptor === 'object' ? descriptor.getValue(Player.self()) - : descriptor) || '', + : descriptor); + return v == undefined ? '' : v; + } ); const { lang } = React.useContext(languagesCTX);