Skip to content

Commit

Permalink
doc - HxAutosuggest + HxSearchBox known issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hakenr committed Sep 2, 2022
1 parent d28eb3a commit 419e549
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
Expand Up @@ -2,9 +2,15 @@

<ComponentApiDoc Type="typeof(HxAutosuggest<TItem, TValue>)">
<MainContent>
<DocAlert Type="DocAlertType.Warning">
Although <code>HxAutosuggest</code> supports <a href="/components/Inputs#InputGroups">input groups</a>, ending input groups conflict with the search icon, therefore, when <code>InputGroupEndText</code> or <code>InputGroupEndTemplate</code> are set, the search icon is not displayed.
</DocAlert>
<DocAlert Type="DocAlertType.Danger">
Due to breaking change in Bootstrap 5.2 the keyboard navigation does not work in <code>HxAutosuggest</code> and <code>HxSearchBox</code> (the <code>Up</code> and <code>Down</code> keys).
We are trying to fix this with Bootstrap team and will try to come up with a temporary solution on our side until the final solution will be available.<br />
You can check the progress here: <a href="https://github.com/havit/Havit.Blazor/issues/348">https://github.com/havit/Havit.Blazor/issues/348</a>.
</DocAlert>

<DocAlert Type="DocAlertType.Warning">
Although <code>HxAutosuggest</code> supports <a href="/components/Inputs#InputGroups">input groups</a>, ending input groups conflict with the search icon, therefore, when <code>InputGroupEndText</code> or <code>InputGroupEndTemplate</code> are set, the search icon is not displayed.
</DocAlert>

<Demo Type="typeof(HxAutosuggest_Demo_Basic)" />
</MainContent>
Expand Down
Expand Up @@ -2,6 +2,12 @@

<ComponentApiDoc Type="typeof(HxSearchBox<TItem>)">
<MainContent>
<DocAlert Type="DocAlertType.Danger">
Due to breaking change in Bootstrap 5.2 the keyboard navigation does not work in <code>HxAutosuggest</code> and <code>HxSearchBox</code> (the <code>Up</code> and <code>Down</code> keys).
We are trying to fix this with Bootstrap team and will try to come up with a temporary solution on our side until the final solution will be available.<br />
You can check the progress here: <a href="https://github.com/havit/Havit.Blazor/issues/348">https://github.com/havit/Havit.Blazor/issues/348</a>.
</DocAlert>

<SectionTitle>Basic usage</SectionTitle>
<Demo Type="typeof(HxSearchBox_Demo)" />
<DocAlert Type="DocAlertType.Warning">
Expand Down

0 comments on commit 419e549

Please sign in to comment.