Page 1 of 1

How do I set the UI input component value for a date data type?

Posted: Wed Apr 22, 2015 8:53 pm
by Todd Penny

I am using the input component with the data type of date and want to set the initial value to a JS date.

For text it seems to work like this...

var text = Apperyio.storage.model.get();
Apperyio('modelInput').val(text);

For date values, I was trying this

var d = new Date();
Apperyio('modelInput').val(d);

where modelInput is the Input component name.

I cannot find any documentation in general that describes ALL the UI component methods with examples, does that exist somewhere?


How do I set the UI input component value for a date data type?

Posted: Thu Apr 23, 2015 6:25 pm
by Serhii Kulibaba

Hello Todd,

Please follow topic below: https://getsatisfaction.com/apperyio/...