Forums › Forums › Search & Filter Pro › JS search field formatting not loading in mobile?
Tagged: jquery mobile search-form, V3
- This topic has 11 replies, 2 voices, and was last updated 6 years, 4 months ago by
Trevor.
-
Trevor(Private) May 23, 2019 at 7:26 am #212139
Sorry, I misunderstood your initial query. Can you make annotated screenshots of the ‘good’ and ‘faulty’ forms when seen in mobile? You will need to upload these images to a file sharing site and give me the links to them (images cannot be uploaded to this forum).
Anonymous(Private) May 24, 2019 at 1:33 am #212361Hi Trevor,
A combo box rendered using the Chosen js library injected “sf-level-1” or “sf-level-2″ to indicate the tree.
e.g. class=”active-result sf-level-2 sf-item-128″I used this to style the tree.
The Select2 dropdown render gives only: class=”select2-results__option”
There is no tree level class indicator.The “sf-level-1 or 2” looks like a class set by S&F.
Is there something I can change so that Select2 also has the tree class indicators?
Thanks,
DonAnonymous(Private) May 24, 2019 at 4:09 am #212364Hi Trevor,
There is a problem.
Without a proper level indicator class in the select2 options tree I decided to select elements by calling their individual ids.However, the ids are different every time the search form loads. 🙁
What do you suggest?
Thanks,Don
Anonymous(Private) May 24, 2019 at 6:23 am #212367Hi Trevor,
Will be possible using css attribute wildcard matches for individual elements.
In this case I don’t expect the search categories to ever change much so should be OK.Would be nice if there were class tree level indicators we could call.
Best,
Don -
AuthorPosts