Autocomplete with large suggestion items

UI Components for JSF
Post Reply
mam01
Posts: 2
Joined: 14 Jun 2017, 16:57

15 Jun 2017, 16:36

Hi,

I'm currently developing a mobile interface with some advanced autocomplete component (with pojo support).

My problem is that there are some items of the suggestions list with very large numbers of characters, so that it expand the width of the input autocomplete and renders the component non responsive and it takes very large place of screen (see screen below).

no suggestions (basic width) :
Image

with suggestion :
Image

My first idea was to define css properties of the .ui-autocomplete-item class in order to give a max-width size and force return chariot with word-break and word-wrap properties but it seems doesn't work..

Any solutions ?

Thanks ! ;)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 40 guests