autoComplete suggestions are crossing the tiles.

Hi All,

We have used AutoComplete for the location input. When the autocomplete suggestions appear similar to dropdown, the suggestion boxs appears as long as the content is, where as I need to restrict to the length I want(length of the input box).

Solution

Hi Ankita,

You need to  set the width of the widget that you are using for your input field. Inspect the name of widget and apply the width size there.(if it still not work for you then mark the width style as "!important")

or 

just enclose your component and input box inside the container and make the width of container as "8 col" (or more as per your requirement but not make it auto as it will expand the size as per your snapshot).

Hope this will help you.

Regards,

Vipasha

Solution

Glad your issue is resolved.

Happy coding!!

:)