Skip to content

Commit 4120415

Browse files
fix(InterfaceVLAN): make vlanif field read only
1 parent 10b3fa5 commit 4120415

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/InterfaceVLAN.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class InterfaceVLAN extends Model {
4343
required: false,
4444
default: '',
4545
allow_empty: true,
46+
read_only: true,
4647
help_text: 'Displays the full interface VLAN. This value is automatically populated and cannot be set.',
4748
);
4849
$this->pcp = new IntegerField(

0 commit comments

Comments
 (0)