Closed ConorSheehan1 closed 5 years ago
I know there is already an autocomplete example for sufia, but it uses linked_data endpoints, which require extra config/setup.
This example uses the loc endpoint so all you should need is
bundle add 'qa' bundle exec rails generate qa:install
then copy the example into a console with jQueryUI loaded, and it should work.
Might be a bit redundant since it's very similar to the sufia 6 example, but I had to write it anyway, so I figured I'd see if it was useful to anyone else.
I know there is already an autocomplete example for sufia, but it uses linked_data endpoints, which require extra config/setup.
This example uses the loc endpoint so all you should need is
then copy the example into a console with jQueryUI loaded, and it should work.
Might be a bit redundant since it's very similar to the sufia 6 example, but I had to write it anyway, so I figured I'd see if it was useful to anyone else.