[SAMPLE PATCH] Filtering a List of Text Items with Javascript


  • Dear All,

    @liminal_andy needed to be able to select text lines from a long list, in the same manner that the actors are filtered when you type part of their name: search through the list and only return the lines that contain the text you typed. 

    Here's an example patch. Using the Edit Text Control on the left, enter the list of items, each one on a new line. Then type a few characters in the center Edit Text Control. The Javascript actor will do a case-insensitive search and show the resulting list of items in the text box on the right.

    fillter-text-list.izz

    Enjoy,
    Mark

  • Tech Staff

    @mark said:

    Here's an example patch. Using the Edit Text Control on the left, enter the list of items, each one on a new line. Then type a few characters in the center Edit Text Control. The Javascript actor will do a case-insensitive search and show the resulting list of items in the text box on the right.

     Is this already on the Addons page?