Skip to content

Commit

Permalink
perf: default_value field allow blank
Browse files Browse the repository at this point in the history
  • Loading branch information
w940853815 authored and BaiJiangJie committed Dec 19, 2024
1 parent a0441cd commit f6f8973
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/ops/serializers/variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class VariableSerializer(CommonBulkModelSerializer):
type = LabeledChoiceField(
choices=FieldType.choices, default=FieldType.text, label=_("Variable Type")
)
default_value = serializers.CharField(max_length=2048, label=_('Default Value'), required=False, allow_blank=True)
extra_args = serializers.CharField(
max_length=1024, label=_("ExtraVars"), required=False, allow_blank=True,
help_text=_(
Expand Down

0 comments on commit f6f8973

Please sign in to comment.