I need to set the default-selection
value for datetime range field. Right now when I add it I get errors. How do I do it. I did not find any proper docs for that field.
I tried
eod: {
from: moment().format(),
to: moment().endOf('day').format(),
},
eod: {
from: moment(),
to: moment().endOf('day')
},
eod: moment().endOf('day')
But none of the above works. The error I get is
Error in render function: (found in <QInlineDatetime>)
RangeError: Invalid array length at Proxy.renderList (eval at <anonymous> (app.js:833), <anonymous>:3309:11) at Proxy.render (eval at <anonymous> (app.js:814), <anonymous>:3965:112) at VueComponent.Vue._render (eval at <anonymous> (app.js:833), <anonymous>:3530:22) at VueComponent.updateComponent (eval at <anonymous> (app.js:833), <anonymous>:2107:22) at Watcher.get (eval at <anonymous> (app.js:833), <anonymous>:2426:25) at Watcher.run (eval at <anonymous> (app.js:833), <anonymous>:2496:22) at flushSchedulerQueue (eval at <anonymous> (app.js:833), <anonymous>:2290:13) at Array.eval (eval at <anonymous> (app.js:833), <anonymous>:460:20) at nextTickHandler (eval at <anonymous> (app.js:833), <anonymous>:409:16) handleError @ vue.runtime.esm.js?a427:1449 Vue._render @ vue.runtime.esm.js?a427:3532 updateComponent @ vue.runtime.esm.js?a427:2107 get @ vue.runtime.esm.js?a427:2426 run @ vue.runtime.esm.js?a427:2496 flushSchedulerQueue @ vue.runtime.esm.js?a427:2290 (anonymous) @ vue.runtime.esm.js?a427:460 nextTickHandler @ vue.runtime.esm.js?a427:409