3 Replies Latest reply: Nov 21, 2016 1:53 PM by Francis Kabinoff RSS

    How to clear other selections with the Field API?

    Sarkis Matossian

      I am using the QField object and the "select" or "selectValues" methods, but this does not clear other selections outside of the passed array, and if I call the clear() method first, I will re-trigger the the event loop.

       

      How can I tell the field to select only the values I pass in to the method, or to clear, and then select, in a single event?

       

      Thanks.