Skip to content

Commit

Permalink
HCK-6364: Min and Max Properties fields should only be available for …
Browse files Browse the repository at this point in the history
…types Map and Object (#68)

* HCK-6364: fix field level config

* HCK-6364: fix typo in localization
  • Loading branch information
Nightlngale authored and hackolade-bot committed Jun 13, 2024
1 parent 3a4a467 commit b473e0d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion localization/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"TOOLBAR___ADD_ATTRIBUTE": "Add Column",
"TOOLBAR___INSERT_FIELD": "Insert Column",
"TOOLBAR___APPEND_FIELD": "Append Column",
"TOOLBAR___TOGGLE_FIELD_DETAILS": "Toogle field details",
"TOOLBAR___TOGGLE_FIELD_DETAILS": "Toggle field details",
"TOOLBAR___SHOW_FOREIGN_MASTER": "Toggle foreign master",
"TOOLBAR___SHOW_MODEL_VIEW": "Toggle model views",
"TOOLBAR___DISTRIBUTE_ORTHOGONALLY": "Distribute tables orthogonally",
Expand Down
18 changes: 18 additions & 0 deletions properties_pane/field_level/fieldLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,24 @@ making sure that you maintain a proper JSON format.
"format",
"enum",
"sample",
{
"propertyName": "Min Properties",
"propertyKeyword": "minProperties",
"propertyType": "numeric",
"dependency": {
"key": "subtype",
"value": "object"
}
},
{
"propertyName": "Max Properties",
"propertyKeyword": "maxProperties",
"propertyType": "numeric",
"dependency": {
"key": "subtype",
"value": "object"
}
},
{
"propertyName": "Remarks",
"propertyKeyword": "comments",
Expand Down

0 comments on commit b473e0d

Please sign in to comment.