Skip to content

Commit

Permalink
#3896: Use asA to specify UI components
Browse files Browse the repository at this point in the history
  • Loading branch information
gjvoosten committed Oct 27, 2021
1 parent 95310e8 commit d621fa7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions anet-dictionary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fields:
longName:
label: Objective / Effort description
placeholder: Enter an objective / effort description, example ....
as: textarea
asA: textarea
style:
height: 400px
topLevel:
Expand All @@ -59,7 +59,7 @@ fields:
longName:
label: Description of this Objective
placeholder: Enter a description for this Objective, example ....
as: textarea
asA: textarea
style:
height: 400px
assessments:
Expand All @@ -85,7 +85,7 @@ fields:
longName:
label: Effort description
placeholder: Enter an effort description, example ....
as: textarea
asA: textarea
style:
height: 400px
assessments:
Expand Down Expand Up @@ -211,7 +211,7 @@ fields:
label: Questions
helpText: JSON that defines the assessment (you need to know what you are doing)
placeholder: Fill in valid JSON
as: textarea
asA: textarea
style:
height: 200px

Expand Down Expand Up @@ -481,7 +481,7 @@ fields:
label: Textarea field
placeholder: Placeholder text for textarea field
helpText: Help text for textarea field
as: textarea
asA: textarea
style:
height: 200px
visibleWhen: $[?(@ && @.colourOptions === 'GREEN')]
Expand Down Expand Up @@ -584,7 +584,7 @@ fields:
label: Textarea field
placeholder: Placeholder text for textarea field
helpText: Help text for textarea field
as: textarea
asA: textarea
style:
height: 200px
visibleWhen: $[?(@ && @.colourOptions === 'GREEN')]
Expand Down Expand Up @@ -665,7 +665,7 @@ fields:
label: Textarea field
placeholder: Placeholder text for textarea field
helpText: Help text for textarea field
as: textarea
asA: textarea
style:
height: 200px
visibleWhen: $[?(@ && @.colourOptions === 'GREEN')]
Expand Down Expand Up @@ -747,7 +747,7 @@ fields:
label: Textarea field
placeholder: Placeholder text for textarea field
helpText: Help text for textarea field
as: textarea
asA: textarea
style:
height: 200px
visibleWhen: $[?(@ && @.colourOptions === 'GREEN')]
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/anet-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $defs:
type: string
title: The placeholder for this field
description: Used in the UI where a placeholder for the field is shown (example input).
as:
asA:
type: string
title: The bootstrap component class
description: Used to determine how the user interface of this particular field looks.
Expand Down Expand Up @@ -92,7 +92,7 @@ $defs:
type: object
placeholder:
type: string
as:
asA:
type: string
filters:
type: array
Expand Down

0 comments on commit d621fa7

Please sign in to comment.