Combo validation error when id is integer


#1

When dataset loaded to combo has id values of integer type, then validate function works incorrect.
Id values must be string type, but it is not described in your documentation, and integer is common type for id keys, so it’s worth it to work.
Sample is there: https://snippet.dhtmlx.com/r3x2f59p


#2

Thank you for your report. The problem is confirmed. We’ll try to fix it in one of the future updates.


#3

The error remains in 7.3.0 pro. Hope it be fixed soon. Thanks.


#4

The issue is still actual. I’ll inform you about any progress.


#5

Your reported problem was fixed in the latest (7.3.4.) dhx.Suite update.
You can test it in your original snippet.
Please, try to download the latest available dhx.Suite build to get that fix.
Thank you once again for your report.


#6

I don’t see any changes at my original snippet at working. In my opinion nothing there was changed. @sematik, could you explain it please?

Problem is that combobox has integer type as id, and value works well, but validation not. I see red state still on my original snippet with dhtmlx version of 7.3.4 pro.


#7

My apologies.
The value of a combo option should be a string. In this case it will work correctly:
https://snippet.dhtmlx.com/ds7llk8k