You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Go to daily tab
2.Click Week Day (MON-FRI) radio option
3.Set for example at time: 1H, 5min, 3sec - expression will be changed to Expression: 3 5 1 ? * MON-FRI *
4.This expression I saved to db - 3 5 1 ? * MON-FRI *
5.ngOnInit I get this expression data from db, and set reactive forms like this:
There are not set radio option Week Day (MON-FRI) , there are set first radio option..All other inputs are set correctly..
This problem IS NOT in monthly or yearly tab, where we also have two radio options.. In those tabs monthly, yearly - there are those seconds radion options set correctly... When I click to update button - I mean <mat-button-toggle i18n (click)="form.patchValue({expression: form.value.expression})">Update the Week Day (MON-FRI) radio option is set correctly...
My code:
ts:
cronOptions: CronOptions = {
defaultTime: "00:00:00",
1.Go to daily tab
2.Click Week Day (MON-FRI) radio option
3.Set for example at time: 1H, 5min, 3sec - expression will be changed to Expression: 3 5 1 ? * MON-FRI *
4.This expression I saved to db - 3 5 1 ? * MON-FRI *
5.ngOnInit I get this expression data from db, and set reactive forms like this:
this.form = this.fb.group({
cronExpression: [this.item.cronExpression]
});
My code:
ts:
cronOptions: CronOptions = {
defaultTime: "00:00:00",
};
html
<cron-editor formControlName="cronExpression" [options]="cronOptions">
The text was updated successfully, but these errors were encountered: