-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Checkbox issue]: [Issue in checkbox on signup page] #4352
Comments
Hi @marcellamaki @bjester , |
Hi @cerdo03, thank you for the report and volunteering. You're welcome to investigate and resolve the bug. |
@MisRob I tried to fix this and found a possible solution of adding a key parameter to VAutocomplete and updating it whenever any checkbox is clicked. This fixes the issue but the dropdown closes whenever any checkbox is clicked. Then to select any other country user has to open the dropdown again. So is this acceptable or should I try to find some other solution to the problem? I am not able to find any other way other than rendering the checkboxes manually without VAutocomplete. If you have any solution in mind, please feel free to share it . Path of the file which affects this issue: https://github.com/learningequality/studio/blob/525b7db58e909cf060528ef29ec616e98407fa01/contentcuration/contentcuration/frontend/shared/views/form/CountryField.vue |
Thank you for looking into this @cerdo03. Have you located what's the source of the original problem? It's not clear to me whether you think this is caused by |
Does it still close when you remove |
@MisRob @bjester I think this is happening because of internal logic of VAutocomplete and asyncho I think this probably because of the asynchronous nature. Because on adding a setTimeout of just 1 ms, the issue doesn't happen. If this is acceptable, then maybe we can introduce a |
@cerdo03 Thanks for looking into it more. 1ms timeout sounds good to me. |
Observed behavior
In the "Where do you plan to use Kolibri Studio? (check all that apply)*" section, whenever before choosing any location, I search a country let us say India, and I check it, and I search another country after that, then the checkbox remains always be checked at that position, irrespective of the country name in front of the checkbox. I am attaching a video for better understanding.
Expected behavior
Only the checkbox that the user has selected should remain selected.
User-facing consequences
The UI and UX experience doesn't seem good because of this issue. There could be confusion on the countries that they are checking.
Additional information
video link: https://drive.google.com/file/d/1bMrtsEMqxtxuBB7iFaK3HgvHJalBZyLr/view?usp=sharing
Steps to reproduce the issue
Usage Details
The text was updated successfully, but these errors were encountered: