Comments (4)
Maybe it's not finding our options? Can you supply more of a code sample so I can help debug?
from angular-cron-gen.
This is the only element in the body:
<div class="container"> <cron-gen ng-model="cronExpression" options="cronOptions" ng-disabled="isCronDisabled"> </cron-gen> </div>
And this is the entirety of the JavaScript:
'use strict';
angular.module('app', ['angular-cron-gen'])
.controller('mainCtrl', function($scope) {
$scope.cronExpression = '0 0 0/3 1/1 * ? *';
$scope.isCronDisabled = false;
$scope.cronOptions = {
formInputClass: 'form-control cron-gen-input',
formSelectClass: 'form-control cron-gen-select',
formRadioClass: 'form-control-static cron-gen-radio',
formCheckboxClass: 'form-control-static cron-gen-checkbox',
hideMinutesTab: false,
hideHourlyTab: false,
hideDailyTab: false,
hideWeeklyTab: false,
hideMonthlyTab: false,
hideYearlyTab: false,
hideAdvancedTab: false,
use24HourTime: false,
hideSeconds: false
}
});
There are no errors in the console. This is the script load order:
<script src="/bower_components/jquery/dist/jquery.min.js"></script> <script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script> <script src="/bower_components/angular/angular.min.js"></script> <script src="/bower_components/angular-cron-gen/build/cron-gen.min.js"></script> <script src="module.js"></script>
from angular-cron-gen.
Upon further troubleshooting, it seems an installation from npm/bower does not have the seconds field. Cloning the repo directly has everything though.
from angular-cron-gen.
I just published 0.0.21. Hopefully that fixes it for you.
from angular-cron-gen.
Related Issues (20)
- hide minutes HOT 1
- Angular 2 HOT 2
- "form-control-static" class causes unalignment bug in the weekly tab with more recent versions of bootstrap3 (i.e. 3.3.7)
- default value for formInputClass and formSelectClass is wrong in the example html
- From server side perspective HOT 1
- How can we add the same functionality in angular-2 or angular-4.Please help HOT 5
- Hide minutes from all tabs HOT 4
- How to use it without bootstrap? HOT 2
- cron not support hangfire? HOT 1
- hideAdvancedTab still displays the Advanced tab HOT 2
- Disable edit HOT 1
- Adopt with Angular 1.4+ HOT 3
- ng-model empty behaves like it is scheduled by minute HOT 1
- Custom Advanced tab HOT 1
- Is there any method to know which tab been selected? HOT 1
- Keep cron expression when moving to advanced tab HOT 1
- Radio Button on the daily tab is not marked when it is selected HOT 1
- use24HourTime option does not refresh the model correctly HOT 4
- Link to cron expression documentation is wrong HOT 1
- Number of days is not correct HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-cron-gen.