@searchcraft/vue-sdk / SearchcraftInputFormProps
The Props for the SearchcraftInputForm component.
Extends
SearchcraftInputForm
Properties
autoSearch
autoSearch:
boolean
Whether or not to automatically submit the search term when the input changes.
Inherited from
Components.SearchcraftInputForm.autoSearch
buttonLabel?
optional
buttonLabel:string
The label for the submit button.
Inherited from
Components.SearchcraftInputForm.buttonLabel
buttonPlacement
buttonPlacement:
"left"
|"right"
|"none"
Where to place the search button.
Inherited from
Components.SearchcraftInputForm.buttonPlacement
core?
optional
core:SearchcraftCore
Inherited from
Components.SearchcraftInputForm.core
customStyles
customStyles:
string
|Record
<string
,string
>
A custom styles object to be applied to the input element.
Inherited from
Components.SearchcraftInputForm.customStyles
inputLabel?
optional
inputLabel:string
The label rendered above the input.
Inherited from
Components.SearchcraftInputForm.inputLabel
placeholderValue
placeholderValue:
string
The input element's placeholder value.
Inherited from
Components.SearchcraftInputForm.placeholderValue
searchTerm
searchTerm:
string
The starting value of the input element.
Inherited from
Components.SearchcraftInputForm.searchTerm