ui: hide the native clear button in SearchInput (#30719)
SearchInput already renders its own clear button. Hide the browser's native search cancel button to avoid showing both controls. Fixes #28627 Signed-off-by: aiqubits <aiqubits@hotmail.com>
This commit is contained in:
1 parent
3bb63cbcbf
commit
1d88cb05f1
1 file changed
+3
-1
@@ -61,7 +61,9 @@
|
||||
bind:ref
|
||||
bind:value
|
||||
{autofocus}
|
||||
class="max-md:h-10 pl-9 {showClearButton ? 'pr-9' : ''} {size === 'sm' ? 'h-8' : ''}"
|
||||
class="max-md:h-10 pl-9 {showClearButton ? 'pr-9' : ''} {size === 'sm'
|
||||
? 'h-8'
|
||||
: ''} [&::-webkit-search-cancel-button]:hidden"
|
||||
{id}
|
||||
oninput={handleInput}
|
||||
onkeydown={onKeyDown}
|
||||
|
||||
Reference in new issue
Block a user