shubhamraj-git commented on code in PR #45790:
URL: https://github.com/apache/airflow/pull/45790#discussion_r1929359263
##########
airflow/ui/src/components/FlexibleForm/FieldMultiSelect.tsx:
##########
@@ -39,6 +42,13 @@ export const FieldMultiSelect = ({ name, param }:
FlexibleFormElementProps) => {
: [],
);
+ useEffect(() => {
+ if (paramsDict[name]) {
+ paramsDict[name].value = selectedOptions.map((option) => option.value);
+ }
+ setParamsDict(paramsDict);
Review Comment:
Ohh yes, this was temp fix for me for some issue, forget to update it. This
can be done by onChange.
--
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]