Skip to main content

So I have a Date/Time field for a ‘Due Date’.
Currently it defaults to null/no datetime.

Once you select a date/time, how can the user remove the date/time?
Surely there must be a way to ‘zero’ it out, but I can’t figure out how to do it.

Thanks

Take a look at this post about reference fields.  Repurposing it for date fields should be totally doable. 

https://community.skuid.com/t/this-possible-without-javascript-row-action-to-remove-va…



Is this the snippet you’re talking about?


$ = skuid.$;var model = skuid.model.getModel('YourModelName');<br>

var row = model.getFirstRow();<br>model.updateRow(row, {ReferenceFieldName:''});

How’s the user supposed to call that?  At present… 😉, I can’t add a “Clear” button next to the date field.  I’m sure they’re going to try the obvious thing and just edit the field, then backspace out the date.  But you leave the field and the value comes back.

Surely I can’t be the only one which needs to clear out a date field?