Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[new_profile] fix site not selecting automatically when 'Recruit anot… #9177

Closed

Conversation

shonibare
Copy link
Contributor

@shonibare shonibare commented Mar 27, 2024

...her candidate' button is clicked
fixes #9146

@shonibare shonibare added the 26.0.0-bugs Issues that were raised during the release testing for 26.0.0 label Mar 27, 2024
Copy link
Collaborator

@ridz1208 ridz1208 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shonibare Although this fix might make it look like its working properly I'm not convinced its the correct fix.

According to #6156

It seems like an autoselect prop was added to select fields that should accomplish that instead of force loading the site from the previous formdata. To do so it seems like what you need is to retrigger the rende of the select element (not sure how but maybe resetting the fieldoptions state would do it). Alternatively (and I'm really not the expert here) but I think we could reload the page and it should reset the state to what it was the first time we loaded it..

@shonibare
Copy link
Contributor Author

@ridz1208 reloading the page works!

@driusan
Copy link
Collaborator

driusan commented Apr 11, 2024

The issue was fixed by #9197

@driusan driusan closed this Apr 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
26.0.0-bugs Issues that were raised during the release testing for 26.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[new_profile] Site drop-down should be automatically set
3 participants