Fix Table entry for Pinyin (#3206)

* changes

* changes
This commit is contained in:
aliabid94 2023-02-15 13:13:55 -08:00 committed by GitHub
parent 74d9080fcd
commit 74f75f004a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -38,6 +38,7 @@ By [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3157](https://git
* Fixes `gr.utils.delete_none` to only remove props whose values are `None` from the config by [@abidlabs](https://github.com/abidlabs) in [PR 3188](https://github.com/gradio-app/gradio/pull/3188)
* Fix bug where embedded demos were not loading files properly by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3177](https://github.com/gradio-app/gradio/pull/3177)
* The `change` event is now triggered when users click the 'Clear All' button of the multiselect DropDown component by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3195](https://github.com/gradio-app/gradio/pull/3195)
* Support Chinese pinyin in Dataframe by [@aliabid94](https://github.com/aliabid94) in [PR 3206](https://github.com/gradio-app/gradio/pull/3206)
## Documentation Changes:
* Sort components in docs by alphabetic order by [@aliabd](https://github.com/aliabd) in [PR 3152](https://github.com/gradio-app/gradio/pull/3152)

View File

@ -16,11 +16,13 @@
<input
class:header
tabindex="-1"
bind:value
{value}
bind:this={el}
on:keydown
on:blur={({ currentTarget }) =>
currentTarget.setAttribute("tabindex", "-1")}
on:blur={({ currentTarget }) => {
value = currentTarget.value;
currentTarget.setAttribute("tabindex", "-1");
}}
/>
{/if}
<span on:dblclick tabindex="-1" role="button" class:edit>