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

Add complex data to select or label #52

Open
Safouene1 opened this issue Jul 22, 2024 · 2 comments
Open

Add complex data to select or label #52

Safouene1 opened this issue Jul 22, 2024 · 2 comments

Comments

@Safouene1
Copy link

Currently , the select or label options have simple object
{"text","text"} or {text:"a",text:"b"}
However most of the time we preview data and send the code or id along the previewed data.
is it possible to make the text accept complex object and display a specific property (if yes I could work on it)

@OvidijusParsiunas
Copy link
Owner

Hi @Safouene1. I'm sorry I don't think I understand what you mean by complex object. Could you elaborate please.

@Safouene1
Copy link
Author

Instead of having ["option1","option2","option3"]
In select drop-down i want to have
[{Label:"option1",code:4},{Label:"option1",code:7} etc]

And i specify the select to show the label and in the data it sends the code as well

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

2 participants