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

MultipleSelectInput with open-end answers? #6

Open
jameslao opened this issue Aug 10, 2022 · 3 comments
Open

MultipleSelectInput with open-end answers? #6

jameslao opened this issue Aug 10, 2022 · 3 comments
Labels
good first issue Good for newcomers question Further information is requested

Comments

@jameslao
Copy link

Is it possible to have open-ended ("Others") answer for MultipleSelectInput? Adding "open" as an option doesn't seem to do anything. Also, adding [{"label": "lastId#0","value": "0"}] seems to put lastId#0 into the box?

image

@AdityaSetyadi AdityaSetyadi added the enhancement New feature or request label Aug 11, 2022
@AdityaSetyadi
Copy link
Member

Hi James, thanks for your concern.
Unfortunately, the "open" answer is not available to apply on MultipleSelectInput, nor to SelectInput.
As of now, it's only available for Radio and Checkbox Input.

In addition, [{"label": "lastId#0","value": "0"}] is a "helper" option for NestedInput.

Thanks for bringing out the issue, truly appreciate it. 🚀

@jameslao
Copy link
Author

Thank you! You guys have done a spectacular job. Maybe it can be helpful to mention this in the document https://github.com/AdityaSetyadi/form-gear#input-for-listselectinputrepeat-multipleselectinput-radioinput-and-checkboxinput. For now I'm adding a value check to enable a separate question.

@AdityaSetyadi AdityaSetyadi added good first issue Good for newcomers question Further information is requested and removed enhancement New feature or request labels Aug 11, 2022
@AdityaSetyadi
Copy link
Member

Terima kasih!
Your feedback is very much appreciated, it means a lot to us.
We apologize for the inconvenience and will pay more attention to the documentation in the future.

In fact, we designed the "open" answer to provide the same level of answers on the same component, as we discovered that matching answers to different components would be challenging in the data processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants