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

Aggregating input values into arrays if required #1836

Merged
merged 7 commits into from Jan 16, 2024

Conversation

serzhiio
Copy link
Contributor

No description provided.

@serzhiio
Copy link
Contributor Author

serzhiio commented Jan 15, 2024

In this PR we are able to aggregate several values of different inputs under same name attribute.
Also FormValue struct now implemets .as_slice() and .to_vec() methods wich are useful if multiple select input has only one value and still it could be used as slice or Vec.

Copy link
Member

@ealmloff ealmloff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Accessing the values as a slice is much nicer

@ealmloff ealmloff merged commit 6126e02 into DioxusLabs:master Jan 16, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants