Closed AllanEngland closed 1 week ago
When you navigate to the observatory page, the dropdown is blank. Its default value should be the observatory assigned to this cycle.
If you click inside the dropdown and click out again (without selecting an observatory) then the current observatory name is correctly populated.
If you click inside the dropdown and select the current observatory, the form becomes dirty and the update button is enabled.
The code does attempt to set the default value of the dropdown, but this is not working.
Darren spotted the Select box value was being set to a number instead of a string. I changed this and now it works as expected.
When you navigate to the observatory page, the dropdown is blank. Its default value should be the observatory assigned to this cycle.
If you click inside the dropdown and click out again (without selecting an observatory) then the current observatory name is correctly populated.
If you click inside the dropdown and select the current observatory, the form becomes dirty and the update button is enabled.
The code does attempt to set the default value of the dropdown, but this is not working.