Skip to content

Introduce a function to create a synthetic form event - #5750

Open
hovinen wants to merge 1 commit into
DioxusLabs:mainfrom
hovinen:add-synthetic-form-event
Open

Introduce a function to create a synthetic form event#5750
hovinen wants to merge 1 commit into
DioxusLabs:mainfrom
hovinen:add-synthetic-form-event

Conversation

@hovinen

@hovinen hovinen commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

This introduces synthetic_form_event analogously to synthetic_click_event. It allows test code to construct a NativeFormData which can set the values of form elements. Otherwise test code would have no easy way to generate such events.

This is needed for DioxusLabs/dioxus-test#17.

This introduces `synthetic_form_event` analogously to
`synthetic_click_event`. It allows test code to construct a
`NativeFormData` which can set the values of form elements. Otherwise
test code would have no easy way to generate such events.
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.

1 participant