website icon indicating copy to clipboard operation
website copied to clipboard

Add ability to paste env vars easily

Open jacobsfletch opened this issue 3 years ago • 3 comments

You should be able to paste an entire key-value pair into the first input, and the form should automatically parse it out, i.e. KEY=value -> KEY and value

Screenshot 2023-08-28 at 4 24 57 PM

jacobsfletch avatar Aug 28 '23 20:08 jacobsfletch

Hello @jacobsfletch,

I'm having trouble locating the section for adding environmental variables in the app. Could you please guide me to the right place?

arvindpndit avatar Sep 08 '23 16:09 arvindpndit

Hi @arvindpndit, you can add / update environment variables by navigating to your project > settings > environment variables.

Here is a screen recording of how to get there: https://github.com/payloadcms/website/assets/67977755/d1f0fe91-3730-4bf4-84e1-2208362e569b

JessRynkar avatar Nov 10 '23 12:11 JessRynkar

Hey! I’d love to work on this issue. Improving form UX is something I really enjoy, and adding support for parsing KEY=value pairs directly into the form would be a great quality-of-life improvement. It seems like a simple enhancement that could save users time and reduce friction when inputting environment variables or config data.

I’m comfortable handling input parsing and ensuring a smooth user experience—happy to take this on if it’s available!

Mitch5000 avatar Jun 15 '25 09:06 Mitch5000