angular-date-dropdowns
angular-date-dropdowns copied to clipboard
TypeError: Cannot read property 'split' of undefined
The issue is on this line: https://github.com/rorymadden/angular-date-dropdowns/blob/master/directive.js#L141
My attrs
variable doesn't have a required attribute so you can't call split on undefined.
I see you require angular 1.2.1 and I'm on angular 1.3.15. Is that the issue?
I had the same. Just use
ng-required="true|false"
and remove the whole check.
This still happens.