Is it possible to add a datepicker to a date field that I’m rendering as TEXT?
I have a date field, and I’m using this custom renderer to render it as the text of the weekday:
var field = arguments[0], model = field.model,<br> condition = model.getConditionByName('Date'),<br> value = condition.value,<br> d = (value == 'TODAY') ? new Date() : skuid.time.parseSFDate(value);<br>$ = skuid.$;<br>var weekday = new Array(7);<br>weekday[0]= "Sunday";<br>weekday[1] = "Monday";<br>weekday[2] = "Tuesday";<br>weekday[3] = "Wednesday";<br>weekday[4] = "Thursday";<br>weekday[5] = "Friday";<br>weekday[6] = "Saturday";<br>var value = weekday[d.getDay()];<br>skuid.ui.fieldRenderers.TEXT.read( field, value );
I’d like to be able to use a datepicker to also select the date.
This will get tricky, because you’ll note I’m getting the value from a condition, not the field value, so I’ll have to set the value of the condition based on what’s selected by the datepicker. Perhaps there’s a different way?

