Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/components/form/fields/IpPoolSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type IpPoolSelectorProps<
/** Compatible IP versions based on network interface type */
compatibleVersions?: IpVersion[]
required?: boolean
hideOptionalTag?: boolean
}

export function IpPoolSelector<
Expand All @@ -67,6 +68,7 @@ export function IpPoolSelector<
disabled = false,
compatibleVersions = ALL_IP_VERSIONS,
required = true,
hideOptionalTag = false,
}: IpPoolSelectorProps<TFieldValues, TName>) {
// Note: pools are already filtered by poolType before being passed to this component
const sortedPools = useMemo(() => {
Expand All @@ -90,6 +92,7 @@ export function IpPoolSelector<
placeholder="Select a pool"
required={required}
disabled={disabled}
hideOptionalTag={hideOptionalTag}
/>
</div>
)
Expand Down
Loading
Loading