Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
DARIAH-DE
Geo-Browser
Commits
05edfaaa
Commit
05edfaaa
authored
Mar 15, 2022
by
malzer
Browse files
Validate removed/empty timestamp values as true
parent
e2bfae2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
edit/js/dariah.workflow.table.js
View file @
05edfaaa
...
...
@@ -51,7 +51,7 @@ function handleHeaderCells(row) {
function
getDateFieldProps
(){
return
{
validator
:
function
(
value
,
callback
){
//custom date validator
if
(
xsdGYear
.
test
(
value
)
||
xsdGYearMonth
.
test
(
value
)
||
xsdDateOrDateTime
.
test
(
value
))
{
if
(
!
value
||
xsdGYear
.
test
(
value
)
||
xsdGYearMonth
.
test
(
value
)
||
xsdDateOrDateTime
.
test
(
value
))
{
callback
(
true
);
}
else
callback
(
false
);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment