ensure port input is a string type

This commit is contained in:
Peter Clement 2023-02-02 13:57:14 +00:00
parent 89d2bd0bec
commit 154648e5ea
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@
<EnvDropdown <EnvDropdown
showModal={() => showModal(configKey)} showModal={() => showModal(configKey)}
variables={$environment.variables} variables={$environment.variables}
type={schema[configKey].type} type={configKey === "port" ? "string" : schema[configKey].type}
on:change on:change
bind:value={config[configKey]} bind:value={config[configKey]}
error={$validation.errors[configKey]} error={$validation.errors[configKey]}