Closed davidhoksza closed 2 years ago
Well it should be possible to show all the availablae chains. If we want to show the selected chains, we probably need to add hidden form field to preserve the value.
@davidhoksza What is the expected behaviour?
When you return to the main page you should see it in the same state as when you left it. That is the best-case scenario. If not, at least the user should see the available chains (possible all ticked) for the typed PDB ID. But currently, the user does not see any chains and that is a problem (at least this is the behavior in Chrome)
The idea is to employ hidden input field to store the selected chains. While the implementation can be improved. Any misfunction or bugs should be addressed by new issues.
When the user returns from the results page to the main page, the structure chains do not show. To make them appear, one has to reenter the PDB ID.