Trim hostname input on SSH Host permission form and fix getWorkspaceUsers key invalidation

This commit is contained in:
carlosmonastyrski
2025-05-09 17:10:01 -03:00
parent aea44088db
commit 81bfc04e7c
2 changed files with 6 additions and 3 deletions
@@ -125,7 +125,7 @@ export const SshHostPermissionConditions = ({ position = 0, isDisabled }: Props)
errorText={error?.message}
className="mb-0 flex-grow"
>
<Input {...field} />
<Input {...field} onChange={(e) => field.onChange(e.target.value.trim())} />
</FormControl>
)}
/>