Comments (3)
that works, thank you!
from modular-forms.
Sorry I haven't replied yet. I don't have much time at the moment. I will try to answer your question on the weekend.
from modular-forms.
I think that you need something like a setCaptchaId
prop to be able to write code like this:
<Field name="captcha_id">
{idField => (
<Field name="captcha_answer">
{(answerField, props) => (
<Captcha
{...props}
setCaptchaId={(id) => setValue(form, 'captcha_id', id)} // <--
idFieldValue={idField.value}
idFieldError={idField.error}
answerFieldValue={answerField.value}
answerFieldError={answerField.error}
/>
)}
</Field>
)}
</Field>
from modular-forms.
Related Issues (20)
- [Qwik] Form state is reset after action returns an error HOT 1
- [React]: Preact Signals Dependency Update HOT 11
- [SolidJS]: How to handle errors from server? HOT 3
- [Valibot/i18n] Client side validation is not translated HOT 2
- [Bug] Todo - Move First to End - Warning: Cannot update a component (`ForwardRef`) while rendering a different component (`Field`) HOT 3
- [Feature] Ability to configure different validations to run at different times HOT 1
- [Bug]: FormError is invoked only once on Qwik v1.4.5 HOT 5
- valiForm doesn't execute custom validation properly HOT 4
- hello facing types errors HOT 1
- Form submitted when filed has error HOT 2
- formAction$ code is not executed if Form component has "class" attribute HOT 8
- [Question] Render props pattern HOT 2
- Form action triggers drizzle polyfill issues. HOT 2
- Make the second parameter of the `formAction$` optional HOT 6
- loginForm.submitting not reactive
- Prevent Double Submit HOT 8
- Form action response is optional before form submit HOT 1
- Can I use modular-forms with action from "@solidjs/router"? HOT 3
- [React] Feature Request: Decouple Form and FormStore creation from components. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modular-forms.