Skip to content

renderNoSuggestion is shown before suggestion #68

@SergeyRe

Description

@SergeyRe

<SearchBox id="search-component" dataField={[ 'name', 'name.autosuggest', 'name.delimiter', 'name.lang', 'name.search', 'name.synonyms' ]} placeholder="Поиск батареек по маркировке типоразмера" autosuggest={true} size={10} showVoiceSearch //sortBy='asc' autoFocus onValueSelected={(value, cause, source) => { return (document.location.href = /size/${source.slug}); }} renderNoSuggestion={() => ( <div> К сожалению база данных находится в фазе первичного накопления информации.Список доступных типоразмеров{" "} <a href="https://batteryhelp.ru/list">приведен тут:</a>{" "} </div> )} /> </SearchBase>
in case of suggestions presented i get a nosuggestions rendering for a few moments before i get suggestions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions