Closed thendricks86 closed 3 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?
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.
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?
Closed as this can be addressed by standard functionality
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:
The result looks like this:
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.