Looking for a "best practice" of how to handle datefields in a form when the date field has yet to be set. In other words the value is '0001-01-01'
I do not see a renderer config it could use that I could make a function and test for it. Also, I don't want to loose the luxury of using the loadRecord() method on the form.
What would be the best way to display blank instead of '0001-01-01'?
do a case statement in the SQL on the backend and send blanks in the JSON?
use a convert function in the model?
listen for a change event and run a function?
others???
I do not see a renderer config it could use that I could make a function and test for it. Also, I don't want to loose the luxury of using the loadRecord() method on the form.
What would be the best way to display blank instead of '0001-01-01'?
do a case statement in the SQL on the backend and send blanks in the JSON?
use a convert function in the model?
listen for a change event and run a function?
others???
Comment