nagasrisai commented on PR #63895:
URL: https://github.com/apache/airflow/pull/63895#issuecomment-4087585402

   ## Working Demo
   
   This PR restores the searchable dropdown for DAG `enum` parameters in the 
Trigger DAG Run dialog. Here are screenshots from a live Airflow instance 
running the fix.
   
   **Full dropdown open** — clicking the field reveals the complete list of 
enum options, rendered with `chakra-react-select`:
   
   ![Full dropdown 
list](https://raw.githubusercontent.com/nagasrisai/airflow/fix/searchable-dag-params-dropdown/docs/screenshots/trigger-dialog-dropdown.png)
   
   **Search filtering in action** — typing `east` into the input narrows the 
list to only matching options (us-east-1, us-east-2, ap-southeast-1, 
ap-southeast-2, ap-northeast-1):
   
   ![Search 
filtering](https://raw.githubusercontent.com/nagasrisai/airflow/fix/searchable-dag-params-dropdown/docs/screenshots/trigger-dialog-search.png)
   
   The DAG used for testing has 12 `enum` params covering AWS regions, 
environment, instance type, storage class, log level, database engine, cache 
backend, deployment strategy, notification channel, and data format. All 12 
render as searchable dropdowns. Other parameter types (string, integer, etc.) 
remain unaffected since the change is gated on `param.schema?.enum` being 
non-empty.
   
   The implementation adds `FieldDropdown.tsx` using `chakra-react-select` 
`Select`, and `FieldMultiSelect.tsx` for `items` schemas with `enum`. Both 
components integrate with the existing `FlexibleForm` field router in 
`FlexibleFormField.tsx`.
   


-- 
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]

Reply via email to