FormBuilder with OnChange broke textarea
@lane-formio ya está trabajando en esto.
Desde el 14/1/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 371
- Forks
- 309
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de formio/react
-
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
-
onChange `modified` property remains false when file component is updatedQuizá libre de nuevo @ZenMasterJacob20011 la tomó hace 293 días y no hay ningún pull request abierto. Abierto
-
FormBuilder onChange callback not triggered when options prop is providedQuizá libre de nuevo @Victoriya25 la tomó hace 335 días y no hay ningún pull request abierto. Abierto
-
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
Todos los issues de formio/react
Issues similares
-
bot:ai-assisted component:platform-js status:untriaged
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
midnightntwrk/platform-js#38 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ranxianglei/billion-context#7068 ·
Los mantenedores suelen responder en 1 día
-
vendor: bump whisper.cpp past 6a8addd — the current pin aborts the app on a failed Metal initAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
mybigday/whisper.rn#348 ·
-
enhancement severity:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Battle-Cattle/BCUK-Bot-4#1075 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
ilan-pinto/roaring-lions#1552 ·
Los mantenedores suelen responder en 1 día