Replace defaultValue with value in TaskTrySelect#56141
Replace defaultValue with value in TaskTrySelect#56141pierrejeambrun merged 5 commits intoapache:mainfrom
Conversation
Changed the Select component to use the controlled 'value' prop instead of 'defaultValue' for try number selection, ensuring the selected value updates correctly with state changes.
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
|
Makes sense. Do you mind running |
Applied prop ordering fix as requested in code review. Props are now alphabetically ordered in the Select.Root component.
Done :) |
|
@bbovenzi looks like you've need to approve again after I updated from main. |
|
@bbovenzi Another query but do the maintainers merge the pr themselves or can we do it as well ? |
Only Maintainers with write permissions to the project are able to merge PRs |
Got it thanks for the clarification, the tests have passed now. |
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
* Replace defaultValue with value in TaskTrySelect Changed the Select component to use the controlled 'value' prop instead of 'defaultValue' for try number selection, ensuring the selected value updates correctly with state changes. * fix: Reorder props in TaskTrySelect for linting compliance Applied prop ordering fix as requested in code review. Props are now alphabetically ordered in the Select.Root component. (cherry picked from commit 3f7991f) Co-authored-by: Vedant Mamgain <mamgainvedant@gmail.com>
…#56258) * Replace defaultValue with value in TaskTrySelect Changed the Select component to use the controlled 'value' prop instead of 'defaultValue' for try number selection, ensuring the selected value updates correctly with state changes. * fix: Reorder props in TaskTrySelect for linting compliance Applied prop ordering fix as requested in code review. Props are now alphabetically ordered in the Select.Root component. (cherry picked from commit 3f7991f) Co-authored-by: Vedant Mamgain <mamgainvedant@gmail.com>
* Replace defaultValue with value in TaskTrySelect Changed the Select component to use the controlled 'value' prop instead of 'defaultValue' for try number selection, ensuring the selected value updates correctly with state changes. * fix: Reorder props in TaskTrySelect for linting compliance Applied prop ordering fix as requested in code review. Props are now alphabetically ordered in the Select.Root component.
Changed the Select component to use the controlled 'value' prop instead of 'defaultValue'
for try number selection, ensuring the selected value updates correctly with state changes.
This ensures that the stale
<select>gets updated just like<option>closes: 55830
Test Plan
<select>isn't stale anymore.