You cannot set the value of a property if it is null or undefined (as indicated by the ?.)
You should check that the property exists first and then set it:
if (statusUpdateRefreshReasonRef.current) {
statusUpdateRefreshReasonRef.current.value = cloneStatusUpdateClone;
}