autocomplete-plus icon indicating copy to clipboard operation
autocomplete-plus copied to clipboard

descriptionMoreURL does not work without description

Open bjshumway opened this issue 7 years ago • 3 comments

I'm not seeing any difference between AutoComplete Plus, and the standard version of AutoComplete. I tried uninstalling AutoComplete Plus and reinstalling it, but this did not work.

Here is a gif so you can see exactly what I'm talking about: https://drive.google.com/file/d/0B0fKe4tEol1ITWNSZ3pvem1hVlk/view?usp=sharing

Basically, I specify a "descriptionMoreURL" but it never shows. This is what made me realize AutoComplete Plus isn't firing.

Any ideas of what I can do? If need be I'm willing to Google Hangout with you and share my screen so we can troubleshoot this together.

bjshumway avatar Jul 19 '17 20:07 bjshumway

Hi I figured out the issue. "descriptionMoreURL" doesn't show if you don't have a "description" specified. I'm not sure if this is a bug or a nitpick.

bjshumway avatar Jul 19 '17 20:07 bjshumway

Is there a reason you're not specifying a description? It's called descriptionMoreURL because it's meant to supplement the description property. For example, autocomplete-css displays a small blurb about what the CSS property does and uses descriptionMoreURL to link to the corresponding MDN page.

winstliu avatar Jul 20 '17 04:07 winstliu

In my case, the reason why I'm not specifying a description is because I am scraping the snippets from a public API's manual. The manual doesn't specify a neat description... it's descriptions are paragraphs long, so I don't want to use them. However, the manual does specify a URL for each API call that you can visit to go directly to the API call's long-but-useful description.

bjshumway avatar Jul 20 '17 06:07 bjshumway