Lee-W commented on code in PR #75643:
URL: https://github.com/apache/airflow/pull/75643#discussion_r4376081228
##########
airflow-core/src/airflow/ui/src/pages/HITLTaskInstances/HITLResponseForm.tsx:
##########
@@ -79,6 +79,13 @@ export const HITLResponseForm = ({ hitlDetail, namespace =
"hitl", onResponded }
const isPending = isHITLPending(hitlDetail.task_instance.state);
+ const chosenOptionsValue = paramsDict.chosen_options?.value;
+ const isSelectionMissing =
+ hitlDetail.multiple &&
Review Comment:
Yep, forgot Guanming added this back in 3.1.0. It no longer guards on
`multiple`. Whenever Respond replaces the option buttons, an empty selection
(empty array, empty string or no value) now disables it and shows the hint.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]