How to set and get the text portion of the combo when it does not match in the list item

How to set and get the text portion of the combo when it does not match in the list item

Hello Amit.

Unfortunately, currently the dhx.Combo accepts only a registered option as a combo value.

Hello Amit

We have extended the possibility to set the value of the combo for the values that are out of the combo list.

Since the dhx.Suite 7.3 update you are able to add new options to your combo list dynamically with the “newOptions” parameter of the dhx.Combo:

  1. Using the ENTER key

  2. Clicking the “Create OptionName” in the popUp.

  3. Using the combobox.addOption(input.value); method

Here is the snippet, where you can test this functionality:
https://snippet.dhtmlx.com/fmg75dtu

If you only want to get/set the value of the text, you can access the combobox._state.value variable.