mirror of
https://github.com/netbox-community/netbox.git
synced 2025-09-06 06:13:36 -06:00
fix(vpn): Update to_field_name
in bulk import form
Changes the value of `to_field_name` from `name` to `address` in the VPN bulk import form. This ensures proper mapping and validation for IP address selection during the bulk import process. Closes #20238
This commit is contained in:
parent
ea50786b5c
commit
0024a3c46c
@ -107,7 +107,7 @@ class TunnelTerminationImportForm(NetBoxModelImportForm):
|
||||
label=_('Outside IP'),
|
||||
queryset=IPAddress.objects.all(),
|
||||
required=False,
|
||||
to_field_name='name'
|
||||
to_field_name='address'
|
||||
)
|
||||
|
||||
class Meta:
|
||||
|
Loading…
Reference in New Issue
Block a user