Change lookup column search operator to 'contains' in List or Library control

Hello,

Is it possible to change the search operator for lookup column within the list or library control? I am working on an order form with many hundreds of items in an inventory list, and the item search is almost useless since, for example, to find "AA Batteries" you would need to search for "AA" as the term batteries returns no results, which is incredibly non-intuitive.

Thanks

Hello @cwood,

Welcome to Plumsail Community!

You can change how the search is handled by the lookup column inside the List or Library control using the code:

fd.control('Control1').$on('edit', function(editData) {

        editData.field('Lookup').operator = 'contains';

});