Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on October 09, 2024, 02:10:40 am



Title: Ask Reuben 248 - Initializer Rules
Post by: Reuben B. on October 09, 2024, 02:10:40 am
In my role I am frequently creating small examples and it used to annoy me that sometimes a date example would have a DATEEDIT widget with a value that defaulted to 31/12/1899 and sometimes it wouldn’t.  I had got into the habit of setting the date to TODAY so that when I opened the calendar widget I did not have to scroll through many years to enter a relevant date.  A recent forum post (thank you Benjamin G) sent me off down a rabbit hole that helped to explain why the date variable had the value 31/12/1899 and why sometimes it was NULL.

Read more at https://4js.com/ask-reuben/ig-248/