material icon indicating copy to clipboard operation
material copied to clipboard

md-datepicker: Allow use of md-input-id

Open abouillon opened this issue 10 years ago • 5 comments

Exactly how md-autocomplete makes use of the md-input-id directive, it would be useful to have this for md-datepicker as well.

This would allow for the component to be easily testable using Protractor to test the inputs. Currently this component is not very testable when there are multiple on a page due to the need to locate the input by css rather than an id attribute.

abouillon avatar Apr 25 '16 14:04 abouillon

A pull request would be welcomed.

ThomasBurleson avatar Apr 25 '16 15:04 ThomasBurleson

Will work on a PR for this shortly.

abouillon avatar Apr 25 '16 15:04 abouillon

@abouillon - in your PR, please add "Fixes #8202" and I will reopen this issue.

ThomasBurleson avatar Apr 25 '16 16:04 ThomasBurleson

Will do.

abouillon avatar Apr 25 '16 16:04 abouillon

@abouillon Any progress?

LayZeeDK avatar Sep 14 '16 09:09 LayZeeDK