Closed sergsadovyi closed 3 years ago
@sergsadovyi Yes, please switch these to autocomplete
Autocomplete for Latest Posts component will have conflicts with #36 . Let's merge this PR. And I'll add autocomplete while refactoring the component in #36
@designerbrent
FormTokenField
component from Core is used to handle tag selection.ComboboxControl
, that will fit better our needs. It shows the dropdown list of items without the need of typing some symbols. But we should wait when the Gutenberg components will be updated in Wordpress Core.
https://developer.wordpress.org/block-editor/components/combobox-control/@sergsadovyi regarding item 4 above, are you thinking we should use what we have here and add the ComboboxControl
in later, or wait to merge this till then?
I think it is better to merge this PR. It fixes the bug of some tags not available in suggestions on websites with more than 100 tags.
When Wordpress Gutenberg blocks update to new version, I'll change the input to ComboboxControl
.
Increased limit in query from 100 to 999. Autocomplete is also possible, but requires more complex refactoring. Should the autocomplete be added? @designerbrent