fix: align device combobox props
This commit is contained in:
parent
164d72e3ce
commit
55631d339a
1 changed files with 3 additions and 2 deletions
|
|
@ -342,13 +342,14 @@ export function DeviceCustomFieldManager({
|
||||||
<label className="text-xs font-medium text-neutral-600">Empresa</label>
|
<label className="text-xs font-medium text-neutral-600">Empresa</label>
|
||||||
<SearchableCombobox
|
<SearchableCombobox
|
||||||
value={companySelection}
|
value={companySelection}
|
||||||
onChange={(value) => setCompanySelection(value)}
|
onValueChange={(value) => setCompanySelection(value ?? "all")}
|
||||||
options={[
|
options={[
|
||||||
{ value: "all", label: "Todas as empresas" },
|
{ value: "all", label: "Todas as empresas" },
|
||||||
...companyOptions,
|
...companyOptions,
|
||||||
]}
|
]}
|
||||||
|
placeholder="Selecionar empresa..."
|
||||||
searchPlaceholder="Pesquisar empresa..."
|
searchPlaceholder="Pesquisar empresa..."
|
||||||
emptyMessage="Nenhuma empresa encontrada."
|
emptyText="Nenhuma empresa encontrada."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<label className="inline-flex items-center gap-2 text-xs font-medium text-neutral-600">
|
<label className="inline-flex items-center gap-2 text-xs font-medium text-neutral-600">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue