anshuksi282-ksolves commented on PR #59231:
URL: https://github.com/apache/airflow/pull/59231#issuecomment-3641530763

   Hi @jscheffl Thanks for catching this ! 
   I have pushed a fix that addresses the synchronization glitch and the 
disappearing fields issue.
   
   ### Changes made:
   
   * **Unified Merge Logic:** The form now correctly merges the DAG's default 
parameters with the incoming URL parameters during initialization. This ensures 
that defaults are preserved, and only specific fields are overridden by the URL.
   * **UI Store Synchronization**: I added logic to explicitly update the 
useParamStore (setParamsDict) alongside the React Hook Form state. This ensures 
the visual input fields update immediately to reflect the URL values (e.g., 
showing 77 instead of 10) without requiring a click interaction.
   * **Data Cleaning**: Implemented a helper to extract clean values from the 
parameter objects to prevent [object Object] rendering issues.
   
   Please let me know if this looks good to you!


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