height fix & pass description to PathField

Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
This commit is contained in:
FTCHD
2025-11-01 20:18:19 +01:00
parent f00dd68a4d
commit 1908209941
+8 -1
View File
@@ -223,6 +223,7 @@ export function PathField({
setPath,
label,
placeholder = 'Enter a remote:/path or local path, or tap to select files',
description,
showSuggestions = true,
clearable = true,
showPicker = true,
@@ -233,6 +234,7 @@ export function PathField({
setPath: (path: string) => void
label: string
placeholder?: string
description?: string
showSuggestions?: boolean
clearable?: boolean
showPicker?: boolean
@@ -397,6 +399,11 @@ export function PathField({
isLoading={isLoading}
selectorIcon={showSuggestions ? undefined : null}
isClearable={clearable}
description={description}
autoComplete="off"
autoCorrect="off"
autoCapitalize="off"
spellCheck="false"
onClear={() => {
setPath('')
setSuggestions([])
@@ -429,7 +436,7 @@ export function PathField({
type="button"
isIconOnly={true}
size="lg"
className="w-20 h-18"
className="w-20 h-16"
data-focus-visible="false"
>
<FolderOpen className="w-6 h-6" />