connecting via socket for mysql and postgres #358

This commit is contained in:
Jan Prochazka
2022-09-08 14:23:13 +02:00
parent 5eda39cb62
commit 0293766bad
7 changed files with 84 additions and 14 deletions

View File

@@ -77,7 +77,7 @@
{#if $authTypes && driver?.showConnectionField('authType', $values)}
<FormSelectField
label="Authentication"
label={driver?.authTypeLabel ?? 'Authentication'}
name="authType"
isNative
disabled={isConnected}
@@ -106,7 +106,7 @@
name="port"
disabled={isConnected || disabledFields.includes('port')}
templateProps={{ noMargin: true }}
placeholder={driver && driver.defaultPort}
placeholder={driver?.defaultPort}
/>
</div>
{/if}
@@ -119,6 +119,15 @@
{/if}
{/if}
{#if driver?.showConnectionField('socketPath', $values)}
<FormTextField
label="Socket path"
name="socketPath"
disabled={isConnected || disabledFields.includes('socketPath')}
placeholder={driver?.defaultSocketPath}
/>
{/if}
{#if showUser && showPassword}
<div class="row">
{#if showUser}