This commit is contained in:
tianshujie
2024-01-25 17:27:48 +08:00
parent 3b071482f8
commit 7ba87f40b1
+3 -2
View File
@@ -159,7 +159,8 @@ $buildCycleOfWeekConfig = function(object $todo): mixed
'required' => true,
'name' => 'config[week]',
'items' => $lang->todo->dayNames,
'value' => isset($todo->config->week) ? $todo->config->week : 1
'value' => isset($todo->config->week) ? $todo->config->week : 1,
'multiple' => true
)
)
)
@@ -194,7 +195,7 @@ $buildCycleOfMonthConfig = function(object $todo): mixed
inputGroup
(
span(setClass('input-group-addon'), $lang->todo->monthly),
picker(set(array('required' => true, 'id' => 'config_month', 'name' => 'config[month]', 'items' => $days, 'value' => isset($todo->config->month) ? $todo->config->month : '')))
picker(set(array('required' => true, 'multiple' => true, 'id' => 'config_month', 'name' => 'config[month]', 'items' => $days, 'value' => isset($todo->config->month) ? $todo->config->month : '')))
)
)
);