-
Notifications
You must be signed in to change notification settings - Fork 216
Open mdPickers in md-dialog #38
Comments
+1 |
Unfortunately multiple dialogs at time cannot be opened. Meanwhile I'll look for a solution, any suggestion would be appreciate :) |
+1 |
I know about specs, but datepicker not a dialog:) |
not best usability solution... |
I've digged a bit into the "Angular Material" source code. There's an undocumented option for $mdDialog, "skipHide". If you set it to True, the mdDialog service doesn't close other dialogs. But there's an issue when cancelling a dialog angular/material#6912 I think it will work without any problem after Angular Material team will release version 1.0.6. |
Here is a demo of what I was talking about |
thx i try it and we already use 1.0.6 version:) I found two problems with this approach:
|
I get 1.0.6 from cdn thx for great picker! Really looking forward to the next version:) |
What is the status of this issue? What are the plans of making the datepicker working in a dialog? |
@rvarbanov done in version 0.7.0, but require angular material >=1.1-rc1 |
@alenaksu it still looks like you are using md-dialog for the datepicker. Are you considering removing the md-dialog? |
@rvarbanov yes it still using md-dialog, but it shouldn't close others anymore. I considered to switch away from md-dialog, but maybe later, when everything will work "quite well" :) |
http://codepen.io/radi/pen/wGzZKx When you open a datepicker in a dialog it opens under the first dialog. Please see the codepen. |
@rvarbanov make a try without specify the parent option in the dialog |
@alenaksu I am not sure I understand. Would you please elaborate? |
@rvarbanov |
@rvarbanov |
All set! |
Angular has changed, skipHide to "multiple" See here: angular/material#10076 |
@alenaksu |
I updated my version to use 'multiple' instead of 'skipHide' and it's not working.. using angular material 1.1.2...please check the attached codepen...we are in production now and it is causing trouble to lot of users please tell the fix to it |
@Prajwal8 I've had the same issue. The You can find it here... https://github.com/dandanknight/mdPickers.git#master |
Hi.
How open picker in dialog window without close it?
The text was updated successfully, but these errors were encountered: