Skip to content

Network interface create form improvements #2147

@david-crespo

Description

@david-crespo

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)}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions