Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change calType with $scope variable #37

Closed
essivision opened this issue Jul 21, 2016 · 1 comment
Closed

How to change calType with $scope variable #37

essivision opened this issue Jul 21, 2016 · 1 comment

Comments

@essivision
Copy link

essivision commented Jul 21, 2016

Hi

How to change calType of datepicker with $scope variable like this:

$scope.cal='gregorian';

 $scope.options = {
        calType: $scope.cal,
        default: 'today',
        multiple:false,
        autoClose:true
    };

Thanks

@MeTe-30
Copy link
Member

MeTe-30 commented Feb 19, 2017

Update to latest version.
set watchingOptions true

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

No branches or pull requests

2 participants