microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
388 stars 340 forks source link

Search Box settings -Configure available providers #705

Closed kasperbolarsen closed 3 years ago

kasperbolarsen commented 3 years ago

Version used 4.0.0

Describe the bug I have uploaded a file containing a number of Search Suggestion phrases, and it works as expected on the /Search site collection and in version 3.16 However in 4.0.0 it seems like the option to enable the suggestion provider does not work To Reproduce Steps to reproduce the behavior:

  1. Enter the settings for the Search Box
  2. Go to page two
  3. Click on "Enable query suggestions"
  4. Click on "Configure available providers"
  5. Enable "SharePoint Static search suggestions"
  6. Click on Save
  7. Publish the page
  8. Edit the page again and go to the "Configure available provideres"
  9. Note that the option is disabled again

Expected behavior That the setting remains active ;-)

FranckyC commented 3 years ago

Hi @kasperbolarsen , good catch, there was an issue with the custom suggestion providers initialisation. Should be fixed in the develop branch. Thanks!