Fix: restore searchable dropdown for DAG params enum fields#63895
Fix: restore searchable dropdown for DAG params enum fields#63895nagasrisai wants to merge 18 commits intoapache:mainfrom
Conversation
|
Let me know if anything needs adjusting. |
bbovenzi
left a comment
There was a problem hiding this comment.
We use chakra-react-select elsewhere in the UI if we want to allow searching
|
Done, switched to chakra-react-select. Also removed the custom search input and the translation key that are no longer needed. |
|
Can you provide a video or gif of the functionality? |
|
Here are some screenshots from running the fix locally on a DAG with 12 enum params. Clicking the field opens the full list: Typing filters it down in real time — here searching "east" narrows it to the matching regions: All 12 params render as searchable dropdowns. String, integer, and other param types are unaffected since the change only applies when |
pierrejeambrun
left a comment
There was a problem hiding this comment.
Working as expected, looking good to me.
We just need to remove the screenshots.



The DAG params dropdown was searchable in Airflow 2. You could type to narrow the list down to the option you wanted. That stopped working in Airflow 3.
Switched
FieldDropdownto usechakra-react-selectwhich already provides built-in search, consistent with howFieldMultiSelectworks in the same directory. Removed the customInputworkaround and the unused translation key that came with it.Closes #63879