sync
This commit is contained in:
@@ -161,7 +161,7 @@ export default class ScheduleItem extends OptionBase {
|
||||
}),
|
||||
validation(
|
||||
createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-occur-once', i.maxLength = 5 }),
|
||||
/^([01][0-9]|[2][0-3]):[0-5][0-9]$/
|
||||
/^([1-9]|[01][0-9]|[2][0-3]):([1-9]|[0-5][0-9])$/
|
||||
)
|
||||
),
|
||||
createElement('div', 'schedule-item-line schedule-item-line-occur-every',
|
||||
@@ -182,14 +182,14 @@ export default class ScheduleItem extends OptionBase {
|
||||
createElement('span', span => span.innerText = 'Starting at'),
|
||||
validation(
|
||||
createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-occur-starting', i.maxLength = 5 }),
|
||||
/^([01][0-9]|[2][0-3]):[0-5][0-9]$/
|
||||
/^([1-9]|[01][0-9]|[2][0-3]):([1-9]|[0-5][0-9])$/
|
||||
)
|
||||
),
|
||||
createElement('div', 'scheldule-item-line',
|
||||
createElement('span', span => span.innerText = 'Ending at'),
|
||||
validation(
|
||||
createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-occur-ending', i.maxLength = 5 }),
|
||||
/^([01][0-9]|[2][0-3]):[0-5][0-9]$/
|
||||
/^([1-9]|[01][0-9]|[2][0-3]):([1-9]|[0-5][0-9])$/
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user