Allow empty values with custom value lists not honored

Hello,

if I create a value list using application.setValueListItems() the “allow empty values” property of the value list is not honored. I know I can add a null entry, but shouldn’t Servoy take care of that?

Is it expected behaviour that we have to add the empty value ourselves?

Thanks
Patrick

Yes, it is expected, (I have asked this before) because you use the setValueListItems, YOU have to set the null also!

Thanks.