Jelajahi Sumber

Fixed #3697: Correct field_order attribute name

hSaria 6 tahun lalu
induk
melakukan
b46e52eccc
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      docs/additional-features/custom-scripts.md

+ 1 - 1
docs/additional-features/custom-scripts.md

@@ -182,7 +182,7 @@ class NewBranchScript(Script):
     class Meta:
         name = "New Branch"
         description = "Provision a new branch site"
-        fields = ['site_name', 'switch_count', 'switch_model']
+        field_order = ['site_name', 'switch_count', 'switch_model']
 
     site_name = StringVar(
         description="Name of the new site"