mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Add placeholder prop to ToolbarSearch
This commit is contained in:
parent
35031e800c
commit
efc9fd6d08
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,9 @@
|
|||
/** Set to `true` to disable the search bar */
|
||||
export let disabled = false;
|
||||
|
||||
/** Specify the `placeholder` attribute of the search input */
|
||||
export let placeholder = "Search...";
|
||||
|
||||
/**
|
||||
* Set to `true` to filter table rows using the search value.
|
||||
*
|
||||
|
@ -91,6 +94,7 @@
|
|||
tabindex="{tabindex}"
|
||||
disabled="{disabled}"
|
||||
{...$$restProps}
|
||||
placeholder="{placeholder}"
|
||||
searchClass="{classes} {$$restProps.class}"
|
||||
bind:ref
|
||||
bind:value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue