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>
|
||||
<SearchableCombobox
|
||||
value={companySelection}
|
||||
onChange={(value) => setCompanySelection(value)}
|
||||
onValueChange={(value) => setCompanySelection(value ?? "all")}
|
||||
options={[
|
||||
{ value: "all", label: "Todas as empresas" },
|
||||
...companyOptions,
|
||||
]}
|
||||
placeholder="Selecionar empresa..."
|
||||
searchPlaceholder="Pesquisar empresa..."
|
||||
emptyMessage="Nenhuma empresa encontrada."
|
||||
emptyText="Nenhuma empresa encontrada."
|
||||
/>
|
||||
</div>
|
||||
<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