content: Controller Modals example with bug

オープン
#4,014 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
angular
領域
documentation

調査の方向性

Controller Modals の例を見つけ、modal-example.component.ts と、app.routes.ts に追加されたルートを確認します。スタンドアロンの Angular の例を再現し、モーダルを開いても NG01203 が発生せず、フォームが機能しなくならないことを検証します。

索引モデルが issue の本文から書いたものです。

説明

content
Describe the Bug

Import "IonInput" required at "modal-example.component.ts" file, but missing, angular can't receive NG_VALUE_ACCESSOR

Expected Behavior

Expected that form will working, but actually receive "ERROR RuntimeError: NG01203: No value accessor for form control unspecified name attribute. Find more at https://angular.dev/errors/NG01203" error

Steps to Reproduce
  1. ionic start
  2. select no
  3. angular
  4. test
  5. blank
  6. standalone
  7. copy all files from controller modals example
  8. add new route to app.routes.ts
    {
    path: 'example',
    loadComponent: () => import('./example/example.component').then((m) => m.ExampleComponent),
    },
  9. open app and navigate to "/example"
  10. open console
  11. press "open" button
Screenshots

No response

Operating System

No response

Browser

No response

Version

No response

Additional Information

No response

主要言語
MDX
スター
621
フォーク
3.2k
平均マージ
1日 2時間
マージ済み PR(30日)
86

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/ionic-docs のほかの issue

ionic-team/ionic-docs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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