how to set the ID as same as value in the richselect

https://snippet.webix.com/fpianqfj

I am trying to load the data from JSON to the richselect. While setting the value from backend finding it difficult since I have only text not ID.

Is there anyway by which I can set the value and ID as same from JSON?

I see that there is no id in the JSON data. If you don’t specify the ID, it will be automatically generated.

You can store the data in the DataCollection

value and any other attribute except the id can be created through the data scheme ($init key):
http://webix.com/snippet/aaa01262

But if it needs to change the id, the only way is to specify a custom datatype:
https://snippet.webix.com/4874e784

Thank you