Premium support for our pure JavaScript UI components


Post by bherford »

Hi team, I've got a column with an editor type of combo. When I try to enter any value into the editor it only allows one letter.

here is my column config and editor config:

            {
                field: 'name',
                ref: 'companyName',
                id: 'nameColumn',
                text: 'Company Name',
                renderer: function({ record }) {
                    if (record.name) {
                        // return value
                        return record.name
                    } else {
                        return 'Select Company Name'
                    }
                },
                editor: {
                    type: 'combo',
                    displayField: 'name',
                    valueField: 'name',
                    items: [],
                    filterOperator: '*',
                    createOnUnmatched: true
                },
            },
Screenshot 2023-02-02 at 9.56.59 AM.png
Screenshot 2023-02-02 at 9.56.59 AM.png (30.4 KiB) Viewed 95 times

Post by bherford »

DISREGARD:

I was overriding this logic elsewhere in the project. I fixed that, and now the combo works properly.


Post by marcio »

No problem bheford,

Glad that you fixed it. Topic closed! :)

Best regards,
Márcio


Post Reply