Bad value from Datatable Dropdown

Using this snippet, if you pick null/empty for both categories and then press save. The value for the first row is a 13 length integer. Why?

https://snippet.webix.com/1uzv5y79

you need to use richselect as editor and options as array with $empty tagged item instead of plain object
https://snippet.webix.com/as4qt232

Hello douga,

When you set a value of an empty string for options it is a 13 length integer bacause each option must have an ID. And if the id for an option is null/empty it will be created automatically with the help of webix.uid().

Thank you, you solution worked.