The GitHub Actions job "Tests" on 
airflow.git/fix/trigger-form-enum-null-rendering has failed.
Run started by GitHub user Subham-KRLX (triggered by Subham-KRLX).

Head commit for run:
867a515faef06014c964312ec36f8f4d2e12870d / Subham Sangwan 
<[email protected]>
fix: preserve original type when selecting numeric enum in FieldDropdown

When a numeric enum value (e.g. 6) was selected, the Select component
returned a string ('6'). The old code stored the string directly, causing
a 400 Bad Request since backend validation expects the integer 6.

Fix: look up the original typed value from schema.enum using the string
as a key, and store that instead of the raw string from the UI.

Regression test added to FieldDropdown.test.tsx.

Report URL: https://github.com/apache/airflow/actions/runs/22172778822

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to