comboBoxEnterPressHandler dropdown values fluctuating on loading values

userNameComboBoxEnterPressHandler of combobox values are loaded but dropdown keeps fluctuating open and close.
Unable to select value from dropdown but i directly load values without any event i am able to selected values


@Install(to = "userNameComboBox", subject = "enterPressHandler")
    private void userNameComboBoxEnterPressHandler(final HasEnterPressHandler.EnterPressEvent enterPressEvent) {
        String typedVaule = (String) enterPressEvent.getText();
        log.info("user name ::" + typedVaule);

        if(typedVaule != null && !typedVaule.equalsIgnoreCase("")) {
            List<String> userName = systemUserServiceImplementation.fetchUserName(typedVaule);
            userNameComboBox.setOptionsList(userName);
        }else{
userNameComboBox.setOptionsList(new ArrayList() );
    }

I am trying to use combobox as smart search instead of preloading values since dataset is large i am trying to search value on basis of entered text also tried tagpicker same scenario is observed for this

Hello @adnan.khan,

To load data from backend into ComboBox there is following method, try it:

https://demo.jmix.io/ui-samples/sample/combobox-items-query?tab=Description

Regards,
Nikita

Thank you @shchienko

I am using jmix 1.0 can you help me with this version solution