Skip to content
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

TeXViewGroup how to clear the selected option or initialise the selected option if the user is revisiting the question #142

Open
arth17singh opened this issue Dec 24, 2022 · 2 comments

Comments

@arth17singh
Copy link

Question: Are you using the latest version of flutter_tex package? pub package
Answer:Yes

Question: If you are looking for a feature, have you watched the Demo Video and gone through the examples folder?
Answer:Yes
In TeXViewGroup how can I deselect the question, there is an option to deselect the option in TeXViewGroup.multipleSelection but in single mode how can the user deselect the selected option. Further if the user revisits the attempted question, the marked option is deselected again. Is there a function present which enables us to initialise and select the option when loading a previously attempted questions and apply the selectedItemStyle on that particular option.

I have tried setting `selectedOptionId = "" ; but it doesn't refresh the style accordingly.
If the user revisits a question, we can store the responses in the list and when a previously attempted question is opened there should be an option to take the selected items from the list. How can we achieve this functionality?

@arth17singh
Copy link
Author

like if the user re-visits the question the response is cleared

@arth17singh
Copy link
Author

there should be a clearSelectedOption() and setSelectedOption()method which is in the code so that it can be called by the flutter function to change the options with more flexibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant