After #2146, I checked and saw we do have one IP field left, in the network interface create form. I think it can stay in because it's a private IP, so it's a lot easier to pick a valid one at random. but we can improve the form in a few ways:
- Auto select first VPC and subnet, they should almost always be what you want
- Collapse VPC, subnet, and address fields under Advanced
- Validate IP address with
validateIp
|
<TextField |
|
name="ip" |
|
label="IP Address" |
|
control={form.control} |
|
transform={(ip) => (ip.trim() === '' ? undefined : ip)} |
|
/> |
After #2146, I checked and saw we do have one IP field left, in the network interface create form. I think it can stay in because it's a private IP, so it's a lot easier to pick a valid one at random. but we can improve the form in a few ways:
validateIpconsole/app/forms/network-interface-create.tsx
Lines 82 to 87 in 5cae211