我正在明智地使用Cron-Editor Cron-Editor功能,如果我选择选项,则在“日常”选项卡上的单选按钮上未标记所选项,该功能可以正常使用。如何显示或标记选中项的单选按钮。
HTML:
<cron-editor [(cron)]="cronExpression" [disabled]="isCronDisabled" [(options)]="cronOptions">Cron here...</cron-editor>
TS:
public cronExpression = '4 3 2 12 1/1 ? *';
public isCronDisabled = false;
public cronOptions: CronOptions = {
formInputClass: 'form-control cron-editor-input',
formSelectClass: 'form-control cron-editor-select',
formRadioClass: 'cron-editor-radio',
formCheckboxClass: 'cron-editor-checkbox',
defaultTime: "10:00:00",
hideMinutesTab: true,
hideHourlyTab: false,
hideDailyTab: false,
hideWeeklyTab: false,
hideMonthlyTab: true,
hideYearlyTab: true,
hideAdvancedTab: true,
use24HourTime: true,
hideSeconds: true,
};