1
0
Fork 0
mirror of synced 2024-07-15 11:15:59 +12:00

Merge pull request #9521 from Budibase/fix/env-vars-port-bug

Ensure port input is a string type to support environment variables
This commit is contained in:
Peter Clement 2023-02-02 14:33:28 +00:00 committed by GitHub
commit 33af2d1feb

View file

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