Fix calling the custom_value when the element is created and is not in add mode