Comments (14)
Will update the guide and check the code next week. Its on my list.
from modular-forms.
v0.23.0 is available
from modular-forms.
@fabian-hiller everything compiles in my project now, thanks a lot!
from modular-forms.
Thank you for the hint! I will update the guide.
from modular-forms.
Wating for this upgrade too :)
from modular-forms.
@fabian-hiller do you have to make changes in the library or can it be fixed just by changing the way the library is invoked?
from modular-forms.
I need to look into this. Some people have reported runtime errors with the new Qwik version.
from modular-forms.
I need to look into this. Some people have reported runtime errors with the new Qwik version.
Using this at work—no runtime errors, just type errors when building the app.
from modular-forms.
I think I have fixed everything. I will release a new version soon.
from modular-forms.
@fabian-hiller I'm declaring ref like this for one of my components:
ref?: QRL<(element: Element) => void>;
Because I need to explicitly call ref
from an useTask$ context, but types are not compatible:
Types of property 'ref' are incompatible.
Type '(element: Element) => void' is not assignable to type 'QRL<(element: Element) => void>'.
from modular-forms.
Please try to remove QRL
:
ref?: (element: Element) => void;
from modular-forms.
If I remove QRL, the type error gets fixed in the Field, but breaks in the useTask$
When referencing "props" inside a different scope (useTask$), Qwik needs to serialize the value, however "props.ref" is a function, which is not serializable.
from modular-forms.
Ok. I will try to change the types to QRL<…>
.
from modular-forms.
v0.23.1 is available
from modular-forms.
Related Issues (20)
- define form without defualt values HOT 1
- Next App directory support HOT 2
- sveltekit support? HOT 1
- Qwik: Form not working when schema is declared inside component$ HOT 9
- Enhance FieldStore to Return Multiple Errors per Field HOT 2
- Phone Number Input HOT 1
- Allow setting initial form values of a mounted component HOT 2
- Preact: What is the best method to pull values of fields in the form for using in computed() HOT 4
- [Question] Is it possible to have optional fields? HOT 7
- Import error in formAction for qwik HOT 1
- Checkbox works improperly when use modular forms with kobalte HOT 7
- [Question] Is it possible to have custom input without ref? HOT 5
- When useFormStore is in a seperate file, it fails HOT 1
- Select component with number types HOT 3
- Using modular form Fields inside solidjs Dynamic component HOT 1
- Qwik: Vite is trying to externalize packages used in formAction$ HOT 3
- `requestSubmit` is not a function on Safari < 16 HOT 3
- Does this library support React Native? HOT 1
- Internal issue: Cannot read properties of null (reading 'internal') HOT 4
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.