Here we check `options.value`, but the conditional logic does not seem to be relevant to this condition since it assigns `value`, not `options.value`.