Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support New Angular2 Form APIs #492

Closed
t246246 opened this issue Jun 16, 2016 · 1 comment
Closed

Support New Angular2 Form APIs #492

t246246 opened this issue Jun 16, 2016 · 1 comment
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@t246246
Copy link

t246246 commented Jun 16, 2016

With Angular 2.0.0-rc.2, we see the following warning when we are using forms:

It looks like you're using the old forms module. This will be opt-in in the next RC, and
     will eventually be removed in favor of the new forms module. For more information, see:
     https://docs.google.com/document/u/1/d/1RIezQqE4aEhBRmArIAS1mRIZtWFf6JxN_7B4meyWK0Y/pub

So when I switched to new form (comes from @angular/forms) to avoid this warning, ngModel no longer works without name property, (check also angular/angular#9230), that means some of your component (or at least the corresponding example on your doc) does not work with new forms, for example, <p-dropdown>.

The error is

Name attribute must be set if ngModel is used within a form.
                      Example: <input [(ngModel)]="person.firstName" name="first">

and even after adding name tag and removing <form> element

browser_adapter.ts?9397:74 Error: No value accessor for ''
    at new BaseException (eval at <anonymous> (vendor.bundle.js:1),
    [...]

So I am asking you if there are plan to support it.

Best Wishes,

@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Jun 18, 2016
@cagataycivici cagataycivici added this to the 1.0.0-beta.9 milestone Jun 18, 2016
@cagataycivici cagataycivici self-assigned this Jun 18, 2016
@cagataycivici cagataycivici changed the title [request] Any plan to support new Form Support New Angular2 Form APIs Jun 18, 2016
@cagataycivici
Copy link
Member

Updated to new router and new forms of RC2

atretyak1985 pushed a commit to Nanitor/primeng that referenced this issue Jul 18, 2020
[NNTR-425] Add download PDF report button to issue filter list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants