christianalfoni / christianalfoni/formsy-react
test form elements in isolation
- Dominant language
- JavaScript
- Stars
- 2.6k
- Forks
- 421
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I have an input on which I use Decorator, it works well in browser, however when I try to test it without wrapping it in Form element I get `Cannot read property 'attachToForm' of undefined`
Is there a way to test form elements in isolation without having to wrap them in Form tag?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names Decorator and Form elements but no files or tests. First reproduce the `attachToForm` error with an input rendered without a Form, then trace the isolation behavior through the relevant component entry points. Done means the isolated form element can be tested without the error, with coverage for both isolated and Form-wrapped usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100