coolify/app/Livewire/Project/Shared/EnvironmentVariable
Andras Bacsai 0eb0dbef02 fix: save comment field when creating application environment variables
The comment field was not being saved when creating environment variables from applications, even though it worked for shared environment variables. The issue was in the createEnvironmentVariable method which was missing the comment assignment.

Added: $environment->comment = $data['comment'] ?? null;

The comment is already dispatched from the Add component and now it's properly saved to the database for application environment variables.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-27 15:24:09 +01:00
..
Add.php feat: add comment field to shared environment variables 2025-12-27 15:24:09 +01:00
All.php fix: save comment field when creating application environment variables 2025-12-27 15:24:09 +01:00
Show.php feat: limit comment field to 256 characters for environment variables 2025-12-27 15:24:09 +01:00