cern-sis / cern-sis/react-formule

form: allow custom callback for formData changes

Open
#118 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
16
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Right now the formData is saved in the formule store #107. We should let users pass their own onChange callback to be able to keep and access the formData without having to access or sync the formule store. The formule store should only be used for editor-related data, and not for already created forms to be filled in.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing where formData is stored in the formule store and how created forms receive change events. Define the callback behavior and verify that callers can retain and access formData without synchronizing with the store, while editor-related data continues using the store.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.