feat(environment-variable): add placeholder hint for magic variables

Add a placeholder message to the comment field indicating when an
environment variable is handled by Coolify and cannot be edited manually.
This commit is contained in:
Andras Bacsai 2026-03-17 10:11:26 +01:00
parent ed3b5d096c
commit f896d47b99

View file

@ -26,6 +26,7 @@
<div class="flex flex-col w-full gap-2 lg:flex-row lg:items-end">
<div class="flex-1">
<x-forms.input id="comment" label="Comment"
placeholder="{{ $isMagicVariable ? 'This env cannot be edited manually, it is handled by Coolify.' : '' }}"
helper="Add a note to document what this environment variable is used for." maxlength="256" />
</div>
<x-forms.button type="submit">Update</x-forms.button>