ionic-team / ionic-team/ionic-framework

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

オープン
#22,832 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
package: core type: bug
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

**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/

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。