diff --git a/src/components/manage/Widgets/GeolocationWidget.jsx b/src/components/manage/Widgets/GeolocationWidget.jsx index 54ed430..608991d 100644 --- a/src/components/manage/Widgets/GeolocationWidget.jsx +++ b/src/components/manage/Widgets/GeolocationWidget.jsx @@ -115,6 +115,10 @@ const GeolocationWidget = (props) => { }); }; + console.log('here2 value.geolocation', value.geolocation); + console.log('here2 value', value); + console.log('here2 originalValue', originalValue.selectedGroup); + const _groupId = `${id}-select-listingblock-template-group`; const _coverageId = `${id}-select-listingblock-template-coverage`; @@ -187,7 +191,7 @@ const GeolocationWidget = (props) => { styles={customSelectStyles} theme={selectTheme} components={{ DropdownIndicator, Option, Group }} - value={value.geolocation || value} + value={value.geolocation || []} onChange={(geolocation) => { onChange( id,