AuraQ / AutoCompleteForMendix

An autocomplete widget for mendix
Apache License 2.0
8 stars 31 forks source link

Feature request: Render select page button next to text input #20

Closed thendricks86 closed 3 years ago

thendricks86 commented 7 years ago

It would be great if it were possible to optionally enable a select button to be rendered next to the control. In some cases, it might be difficult to search in a text box alone as it might be necessary to filter down in order to find an object. I solved this at the moment by putting a standard reference selector next to the auto complete widget, setting it to select by page and disabling everything but the button itself using CSS:

autocomplete_select1

The result looks like this: autocomplete_select2

Clicking the select button will open a select page to set the reference instead. Creating the form like this is totally workable but it would be very cool if the widget had an option to render a select button next to it by default.

lindski commented 7 years ago

If you want to pop up a search would it not just be easier to have a standard reference selector on your page? Or do you want both the auto complete functionality plus the option for a more detailed search via a pop up?

thendricks86 commented 7 years ago

Yes, I am looking for a way to have both options. Example: I might have a CRM application in which I can add contacts to a document. I likely know the name of the person I want to add, so I can just type the name. There are however, also instances where I might only know that I am looking for the assistant IT manager of client A. In that case it would be nice to have a selection grid in a popup in which I can search multiple text fields (like the standard reference selector), without having to display all the data in the search field.

lindski commented 7 years ago

I took a look at this over Christmas... there is no way (that I could find) to open a reference selector 'select' page using the client api so all I would be able to do would be to render the button and open a pop up page... the developer would have ensure that they set the correct association from the pop up before returning to the main page.

Does that sound reasonable?

pratleymatthew commented 3 years ago

Closed as this can be addressed by standard functionality