} else if (isDefaultValue) {
            // checking if the items in defaultSeleted exist in the data prop
            currentValue = MultiRange.parseValue(item, props);
            currentValue.forEach((value) => {
                selectedValues = { ...selectedValues, [value.label]: true };