Skip to content

doc: Controller Modals example with bug #4014

Open
@slava-iv

Description

@slava-iv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions