Basic sdl-srch-bar demo -- with 'ajaxUrl' specified

Note: When you specify the 'ajaxUrl' the sdl-srch-bar will manage the ajax call for you. It will fire it's 'changed' event only after the ajax has come back. The event.detail.payload will hold the response from the ajax call.




Basic sdl-srch-bar demo -- no 'ajaxUrl'

Note: When no 'ajaxUrl' is specified then sdl-srch-bar will fire it's 'changed' event after each change to the form. The event.detail.formData will be passed back to the user so that they can do their own ajax if desired.