content: Controller Modals example with bug
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angular
- Domain
- documentation
Research direction
Locate the Controller Modals example and inspect modal-example.component.ts, along with the route added in app.routes.ts. Reproduce the standalone Angular example and verify that opening the modal no longer produces NG01203 or prevents the form from working.
Written by the indexing model from the issue text.
Description
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
- ionic start
- select no
- angular
- test
- blank
- standalone
- copy all files from controller modals example
- add new route to app.routes.ts
{
path: 'example',
loadComponent: () => import('./example/example.component').then((m) => m.ExampleComponent),
}, - open app and navigate to "/example"
- open console
- press "open" button
Screenshots
No response
Operating System
No response
Browser
No response
Version
No response
Additional Information
No response
- Dominant language
- MDX
- Stars
- 621
- Forks
- 3.2k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 86
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ionic-team/ionic-docs
-
content
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
ionic-team/ionic-docs#4705 ·
-
content package: angular
Difficulty 2/5 Half a day Newbie friendliness 78/100
ionic-team/ionic-docs#4702 ·
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 80/100
ionic-team/ionic-docs#4546 ·
-
content: broken link Opencontent
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ionic-team/ionic-docs#4381 · 2 comments ·
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 72/100
ionic-team/ionic-docs#3639 ·
All issues in ionic-team/ionic-docs
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·