Closed virtadpt closed 4 years ago
Great idea! Unfortunately because this is done via a <datalist>
element, I don't think that the browser gives me the right event to detect when you select an element from the dropdown list, making this a bit of a challenge to implement.
If you know of such an event that some JS could listen for, then I'm all ears :D
Additionally, it's not currently possible to use the awesomeplete
library that's used in the page tags box without some significant refactoring because the Pepperminty Wiki core may not request files to be downloaded as extra data.
Unfortunately, those aren't quite right @virtadpt.
<select>
elements, but I use an <input type="search" />
with a <datalist />
<datalist />
item is selectedI guess I've just outed myself as a systems engineer and not a web developer? :)
Not a problem @virtadpt :P
Since there doesn't appear to be a solution to the problem, I'm going to close this for now. However, if anyone discovers a solution in the future, I will gladly implement it :-)
Right now, if you search on something in the wiki, the search box will turn up a number of possible search hits if there are any in a little drop-down below the search box. If you click on one of them, it populates the search box with the possible search hit. It seems a bit counter-intuitive to search on something that you just found out exists. Maybe make it so that clicking on that auto-suggested search hit will take the user right to that page?