FormBuilder with OnChange broke textarea
@lane-formio ci sta già lavorando.
Dal 14/1/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe the bug
Using the FormBuilder component to modify the form and the onChange method to save the changes, using a react useState like in this case: <FormBuilder initialForm={myForm} options={myOptions} onChange={form => setTempForm(form)}/>, causes the open modal to modify a component to break and not be able to click anywhere on the form or any button.
To Reproduce
Steps to reproduce the behavior:
- set a useState like this one: const [tempForm, setTempForm] = useState()
- set the FormBuilder like this: <FormBuilder initialForm={formData.builder} options={options} onChange={form => setTempForm(form)}/>
- Click on 'Edit' to a form component
- Save the form
- See error
Expected behavior
A clear and concise description of what you expected to happen.
The form should save and the modal should close.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: EndeavourOS Linux x86_64
Host: Vostro 5620
Kernel: 6.17.9-arch1-1
Uptime: 8 hours, 42 mins
Packages: 1645 (pacman)
Shell: bash 5.3.3
Resolution: 1920x1080
DE: Plasma 6.5.3
WM: kwin
Theme: deepin-dark [GTK2/3]
Icons: breeze-dark [GTK2/3]
Terminal: konsole
Terminal Font: Source Code Pro 11
CPU: 12th Gen Intel i7-1260P (16) @ 4.700GHz
GPU: Intel Alder Lake-P GT2 [Iris Xe Graphics]
Memory: 11470MiB / 15671MiB
- Lingua principale
- TypeScript
- Stelle
- 371
- Fork
- 309
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di formio/react
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
onChange `modified` property remains false when file component is updatedForse di nuovo libera @ZenMasterJacob20011 l’ha presa 293 giorni fa e non c’è nessuna pull request aperta. Aperta
-
FormBuilder onChange callback not triggered when options prop is providedForse di nuovo libera @Victoriya25 l’ha presa 335 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
Tutte le issue di formio/react
Issue simili
-
bot:ai-assisted component:platform-js status:untriaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
midnightntwrk/platform-js#38 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ranxianglei/billion-context#7068 ·
I maintainer di solito rispondono entro 1 giorno
-
vendor: bump whisper.cpp past 6a8addd — the current pin aborts the app on a failed Metal initAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mybigday/whisper.rn#348 ·
-
enhancement severity:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Battle-Cattle/BCUK-Bot-4#1075 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
ilan-pinto/roaring-lions#1552 ·
I maintainer di solito rispondono entro 1 giorno