DateTime input doesn't work if value is less than 2011/11/30

Perspective 8.1.11

I created a view with a DateTime input (not picker!), with type set to ‘Time’.
If I bind a custom prop to the ‘value’ for the input component, then the value becomes unchangeable.

Is this a bug? or could I possibly be doing something wrong?

Thanks.
-Shane

UPDATE: it appears to be related to having a value less than 2011/11/30!

Seems to become “unchangeable” if the underlying value < 2012 ???

UPDATE: it appears to be related to having a value less than 2011/11/30!

If you are binding the value of the component to some expression or property, then the value will do its best to be exactly what the expression you wrote says. So it makes sense that a user would not be able to change it. What did you bind it too? I assume when you try to change it, it just reverts to what you bound it to?

Definitely related to trying to use the DateTime input with a date less than 2012/1/1.
Not sure of the exact cut off, but it definitely becomes “unchangeable” with dates of 2011/1/1 and earlier.

UPDATE: it appears to be related to having a value less than 2011/11/30!

Post your exact binding

What determines parent.custom.time? Is that a binding as well or calculated programatically?

simple custom property. it’s not related to the binding. it’s related to the value. it appears dates less than 2011/11/30 cause the DateTime input control to stop working.

image

It’s a simple view, with a single component:

image

Try unchecking Bidirectional in your binding to parent.custom.time.

image

3 Likes

Winner, winner! Thanks PGriffith. It’s a feature!