I have a datetime field formatted as HH:mm.
If I set it from a custom valuelist values like
08:00
08:15
08:30
08:45
09:00
it works fine.
If I set the valuelist from an array:
application.setValueListItems( ‘ore2’, new Array(‘08:00’,‘08:15’,‘08:30’))
the list appears as expected but if I choose a value Servoy stucks with this simple error: java.lang.String, and I have to close it with Task Manager, no other way.
Probably the array handles a wrong kind of data, but how to set it properly?