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

define form without defualt values #163

Open
sreeisalso opened this issue Dec 16, 2023 · 1 comment
Open

define form without defualt values #163

sreeisalso opened this issue Dec 16, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sreeisalso
Copy link

Hi @fabian-hiller
the library is great, but I feel there must be a way to define the form without default values (using the loader). my main concern is in qwik I have to use routeLoader$ to use the default values, but I can't use the routeLoader other than index page, this is stoping me in using in a separate file.

@fabian-hiller
Copy link
Owner

Have a look at this guide: https://modularforms.dev/qwik/guides/create-your-form#static-values

We will probably get rid of the required defaults in January.

@fabian-hiller fabian-hiller self-assigned this Dec 16, 2023
@fabian-hiller fabian-hiller added the enhancement New feature or request label Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants