ionic-team / ionic-team/ionic-framework

bug: input elements do not participate in HTMLFormElement.reset()

Abierto
#22,832 2 comentarios 1 reacción 0 asignados Ver en GitHub
package: core type: bug
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

**Ionic version:**
No framework. Vanilla JS
Calling Ionic CDN directly

**I'm submitting a ...**

[x ] bug report
[ ] feature request

**Current behavior:**
After resetting a form - form.reset() - a value set programmatically does not show in the ion-input. If any text is entered in the ion-input and then a value is set programmatically, the value does show

**Expected behavior:**
Setting a value should always show the value in the input field

**Steps to reproduce:**
This fiddle shows the bug. Follow the instructions in the fiddle

https://jsfiddle.net/dexster/vk0d73oz/23/

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.