ionic-team / ionic-team/ionic-docs

content: Controller Modals example with bug

オープン
#4,014 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
content
主要言語
MDX
スター
621
フォーク
3.2k
平均マージ
1日 2時間
マージ済み PR(30日)
86

説明

### Describe the Bug

Import "IonInput" required at "modal-example.component.ts" file, but missing, angular can't receive [NG_VALUE_ACCESSOR](https://github.com/ionic-team/ionic-framework/blob/cd5c27a12a03cc11da7ae86d89ad402343fed1c0/packages/angular/standalone/src/directives/input.ts#L70)

### 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_

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

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

評価

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

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

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