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

Feature Request - Angular Forms #96

Closed
stefnotch opened this issue Jun 10, 2019 · 3 comments · Fixed by #104
Closed

Feature Request - Angular Forms #96

stefnotch opened this issue Jun 10, 2019 · 3 comments · Fixed by #104

Comments

@stefnotch
Copy link
Contributor

I'd love to see a few snippets for quickly creating a form. A few useful ones would be

a-form

<form (ngSubmit)="onSubmit()" #myForm="ngForm">
</form>

a-form-submit

<button type="submit" [disabled]="!myForm.form.valid">
    Save
</button>
@stefnotch stefnotch changed the title Feature Request Angular Forms Feature Request - Angular Forms Jun 10, 2019
@johnpapa
Copy link
Owner

good idea. anyone want to make a PR?

@stefnotch
Copy link
Contributor Author

I went ahead and created a PR. If it's fine, I'll also create a PR for #95

@Sampath-Lokuge
Copy link

This is great! Please merge this PR and create a new version @johnpapa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants