ephraimbuddy opened a new pull request, #56896:
URL: https://github.com/apache/airflow/pull/56896
When triggering the example dag 'Params trigger Ui' via the UI, the form
crashed with:
TypeError: Cannot read properties of null (reading 'value') at
src/queries/useParamStore.ts:setParamsDict
This was because the `useDagParams` returned raw
backend params(plain values that can be null), but `setParamsDict` expects
each entry to be a ParamSpec with a .value. When a value was null,
destructuring { value } caused the crash.
The fix was to normalize `data.params` in `useDagParams.ts` to ParamSpec
objects
<img width="840" height="823" alt="Screenshot 2025-10-20 at 17 32 49"
src="https://github.com/user-attachments/assets/e2864d62-887f-4ea6-86d5-16af81445d88"
/>
--
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]