Skip to content

Commit

Permalink
serialize Locked
Browse files Browse the repository at this point in the history
  • Loading branch information
Swapnil Bhalgat committed Dec 18, 2024
1 parent 79d5d46 commit 016682d
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schemas/pa-yaml/v3.0/pa.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ definitions:
Layout:
type: string
minLength: 1
Locked:
type: boolean
Group: true
Properties: true
Children: { $ref: "#/definitions/Children-Control-instance-sequence" }
Expand Down
2 changes: 2 additions & 0 deletions src/Persistence/PaYaml/Models/SchemaV3/ControlInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public ControlInstance(string controlType)

public string? Layout { get; init; }

public bool? Locked { get; init; }

/// <summary>
/// The name of the group of controls that this control should be grouped with.
/// This does not impact the visual layout of the control or behavior, but is used to group controls together for organizational purposes from within the Studio.
Expand Down
Loading

0 comments on commit 016682d

Please sign in to comment.