invalid date in editor
invalid date in editor
Hello
How to show nothing in editor when a date is null...
Invalid Date is in moment.js but not translated at all (in moment-with-locales.js)
for table, with render should be ok, but in editor ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @Lapointe ,
Do you mean in the main table, or the Editor forms? If main table, something like this should do the trick.
Cheers,
Colin
hi @colin
As asked, for editor please...
I had a look in moment-with-locales.js and nowhere "invalid date" was translated...
Cheers
Roberto
Its coming from Moment.JS.
However, there is an underlying issue with null values and the Editor
datetime
component - they basically don't work. That is something we need to address and I plan to for the 1.9.3 release.Allan
Fix committed for 1.9.3 which will drop soon.
Allan
Hello Allan,
i´m using datetime with the following options:
with this "invalid date" is still shown - i´m using 1.9.3
do you have an idea?
best regards
Volkhard
Are you able to link to your page so we can take a look? If not, can you post the JSON for one of your records where you're seeing this error.
Colin