You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please add an option to allow an override for the suggestions container to have a user defined min/max width, or min/max width based on the returned suggestions?
The issue I'm having is that the input fields to look up data is smaller than the returned data itself based on the rules for the use case I'm using them in.
When trying to find a product the value is hidden and represented by ..., and the clarifying data for each product is hidden by the less than optimal width.
To try and clarify this is what we'd like to see:
Similar Product Name Option 1 with XYZ
Similar Product Name Option 2 with XY
Similar Product Name Option 3 with Z
... but because of the UI layout all that can be see is:
Similar Product Name Op ...
Similar Product Name Op ...
Similar Product Name Op ...
... and it's unclear as to which one is truly desired.
In the meantime, since I'm using an AJAX request to retrieve the suggestions, I'm using the .always() method on the AJAX request to trigger a custom action, and resize the .autocomplete-suggestions to 600px, which is working, but 600px is too wide in most cases, so the auto width based on the text would be the perfect solution.
The text was updated successfully, but these errors were encountered:
geniuswebtools
changed the title
Option to set min width on returned suggestions
Option to set auto or min/max width on returned suggestions
Sep 22, 2020
Can you please add an option to allow an override for the suggestions container to have a user defined min/max width, or min/max width based on the returned suggestions?
The issue I'm having is that the input fields to look up data is smaller than the returned data itself based on the rules for the use case I'm using them in.
When trying to find a product the value is hidden and represented by
...
, and the clarifying data for each product is hidden by the less than optimal width.To try and clarify this is what we'd like to see:
Similar Product Name Option 1 with XYZ
Similar Product Name Option 2 with XY
Similar Product Name Option 3 with Z
... but because of the UI layout all that can be see is:
Similar Product Name Op ...
Similar Product Name Op ...
Similar Product Name Op ...
... and it's unclear as to which one is truly desired.
In the meantime, since I'm using an AJAX request to retrieve the suggestions, I'm using the .always() method on the AJAX request to trigger a custom action, and resize the .autocomplete-suggestions to 600px, which is working, but 600px is too wide in most cases, so the auto width based on the text would be the perfect solution.
The text was updated successfully, but these errors were encountered: