Skip to content

sambs/angular-sb-date-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Date input via date, month & year select fields

Build Status

  • Reads and writes ISO 8601 date strings (YYYY-MM-DD) to your model
  • Supports min and max attrs
  • Depends on Moment.js
  • Plays nicely with Moment's language packs for internationalization - see the Moment.js docs

Its advised not to use this directive on an input or select element to avoid confict regarding ngModel.$render. Also be aware that a new scope is created, so remember the best practice of always having a dot in your ng-model attrs.

Example

License

Licensed under the MIT License