Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1817

search() method doesn't update UI results

    Details

      Description

      Setup:

      <input id="myInput" type="text" value="" />
      
      <ul id="myList">
          <li>foo</li>
          <li>bar</li>
      </ul>
      
      var liveSearch = new A.LiveSearch({
          input: '#myInput',
          nodes: '#myList > li'
      });
      
      liveSearch.search('bar');
      

      Expected Results:

      • Input will display value "bar".
      • List will display only the "bar" list item.

      Actual Results:

      • Input displays value "bar".
      • List displays both "foo", and "bar" list items.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                maira.araujo Maíra Araujo (Inactive)
                Reporter:
                byran.zaugg Byran Zaugg (Inactive)
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 31 weeks, 4 days ago

                  Packages

                  Version Package
                  master
                  master-deprecated
                  3.0.x