Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(input): check if parent form is undefined before checking if it's… #6809

Closed

Conversation

epelc
Copy link
Contributor

@epelc epelc commented Jan 21, 2016

… submitted

This fixes an issue I had with requiring inputs in form dialogs causing errors when you close the dialog. It should also fix the same issue in other situations as this is a fix for md-input-container. It was just triggered with a dialog in my case.

Fixes #6807

@ThomasBurleson
Copy link
Contributor

Thanks @epelc.

@tonyawad88
Copy link

I had the same issue and had to remove the

element from the dialog template. I guess now after this fix I can put the form tag back in :)

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

Successfully merging this pull request may close these issues.

dialog: form with required input causes error when dialog is closed
3 participants