Add a search text box for both buttons and image select for a user to have the ability to search through a very big list of options.

Example:

Search capability

after click on search, the buttons will be filtered to only one option... in this example will be: "Germany"

Thank you

Comments

C.E.A created an issue. See original summary.

jrockowitz’s picture

Status: Active » Closed (won't fix)

You should use select2 or chosen which supports filtering options.

c.e.a’s picture

Status: Closed (won't fix) » Active
StatusFileSize
new69.94 KB
new27.44 KB
new81.34 KB

I am aware about the "Select 2" option but it is not good as the "image select" option.

"Select 2" Option:

  • Support only text without images.
  • User must click to open the select box, search for what he needs then select it.

"image select" option:

  • Friendly use.
  • Out of box modern and beautiful design.
  • Support 'images' as well as 'images name'.
  • Clickable so a user can obviously check what he selected.

The Problem while using 'Image Select' element:
It is a bit difficult for a user if plenty (more than 80 images) are available to select from... that's why I have created this feature request since it will give the user the ability to filter all images using a simple text box.

Real case with images:
the user will be prompt to select a color from a very big list of colors (images):
Image 1

The user filtered the list of colors to 'black':
Image 2

Note: Same idea is already available when you '+ Add Element' for a webform.
Image 3

Thank you,

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 2b58741 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...

  • jrockowitz committed 72a92f1 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...
jrockowitz’s picture

Status: Active » Needs review
jrockowitz’s picture

Support the Webform module and the Drupal community

The Webform module is part of Drupal's contributed module ecosystem. The Webform module and Drupal are completely free. Everyone is welcome and the Drupal community is here to help. Get involved with the Drupal project and also consider helping to financially support the Webform module by becoming a backer or by making a one-time contribution to say thanks by joining the Webform module's Open Collective.

c.e.a’s picture

Woww... The fast feature request ever I have asked for !!!
Thank you so much for your time and effort

does this feature applied to the latest dev release ?
I cannot see it in action

jrockowitz’s picture

StatusFileSize
new20.29 KB

You have to test the patch which I forgot to attach.

c.e.a’s picture

The patch is working just as expected... Thank you so much for your fast response... You rock!

c.e.a’s picture

#77 done...
A humble thank you for your great support and fast response!

jrockowitz’s picture

Wow!!! - #77 worked

Thank you for backing the Webform module's Open Collective.

  • jrockowitz committed 3132f85 on 3041100-image-filter
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...
jrockowitz’s picture

StatusFileSize
new32.09 KB

Here is the final patch with test coverage.

  • jrockowitz committed a81ee2c on 8.x-5.x
    Issue #3041100 by jrockowitz, C.E.A: Add search capability to the "...
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz committed c645d68 on 8.x-5.x
    Issue #3041100 by C.E.A: Add search capability to the "buttons" and "...
c.e.a’s picture

#84 patch tested and worked as expected...
Thank you,

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.