Skip to content

[solidjs] How to use createResource or createAsync to load default values #230

Open
@vf-unordinary

Description

Hi all!

as the title says, is it possible to "watch" createResource/createAsync to load initial values of the form in an async way?

Relying on createEffect to set them using setValues surely works, but for example, in a solid start application interferes with the form submission, firing before the actual form is submitted.

Thanks in advance!

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions