Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

proposal(datepicker): use native input element #106

Closed
jefersonestevo opened this issue Feb 22, 2017 · 1 comment
Closed

proposal(datepicker): use native input element #106

jefersonestevo opened this issue Feb 22, 2017 · 1 comment

Comments

@jefersonestevo
Copy link
Contributor

This issue is a proposal to change the span that shows the current value from the datepicker to use a native input from the browser.

From:
<span class="md2-datepicker-input-text">{{_viewValue}}</span>

To something like:
<input [(ngModel)]="_viewValue" [required]="required" disabled class="md2-datepicker-input-text" />

With this change, we can use the native form validation from the browser on the datepicker

@leolorenzoluis
Copy link

Submit a pull request please

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

No branches or pull requests

3 participants