Mayankaggarwal8055 opened a new issue, #65053: URL: https://github.com/apache/airflow/issues/65053
### Under which category would you file this issue? Providers ### Apache Airflow version latest ### What happened and how to reproduce it? ### Description The `SearchBar` component initializes its internal state using the `defaultValue` prop, but does not properly stay in sync when `defaultValue` changes after the initial render. This commonly happens when the search value is controlled via URL query parameters (e.g., in pages like DagsList, Connections, AssetsList). When navigation actions (such as back/forward) update the query params, the `defaultValue` prop changes, but the input field does not reflect the updated value. --- ### Steps to reproduce 1. Open a page using SearchBar (e.g., Dags list) 2. Type a search query (e.g., "air") 3. Change the URL query parameter (or use browser back/forward navigation) 4. Observe the search input --- ### Current behavior - The actual filter (URL/query param) updates - The SearchBar input does NOT update - UI and filter state become inconsistent ### What you think should happen instead? ### Expected behavior - SearchBar input should update whenever `defaultValue` changes - UI should always reflect the current filter state - No mismatch between visible input and actual filter ### Operating System window 11 ### Deployment None ### Apache Airflow Provider(s) _No response_ ### Versions of Apache Airflow Providers _No response_ ### Official Helm Chart version Not Applicable ### Kubernetes Version _No response_ ### Helm Chart configuration _No response_ ### Docker Image customizations _No response_ ### Anything else? This issue occurs consistently when navigating or updating query parameters externally. It impacts user experience by causing the search input to display outdated values while the actual filtering logic uses the updated value. ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
