I would like to set a color or disable some items in a timefield.

Is that possible? I have tried some listeners, only return false in the beforeselect works, but it would be nicer to gives a color or disable the items in the timefield that should not be selectable.

UPDATE: actually it's even more complicated. The coloring or disabling shouldn't occur on render, but dynamically, after a click on another item in the form, the minValue and maxValue are set and then the time entries must get the color.