developmentseed / developmentseed/stac-manager

Form breaks with "Error rendering widget (tagger):

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
39
Forks
10
PR merge metrics
No merged PRs in 30d

Description

When attempting to edit some of the demo collections in EOEPCA STAC (https://eoapi.apx.develop.eoepca.org/manager/collections/sentinel-2-iceland/edit), the form crashes with:

Image

```
WidgetTagger: 'items.allowOther.type' is required for the 'tagger' widget with 'enum' options. Use the 'select' widget instead.
@.item_assets.2.roles
{
"label": "Roles",
"type": "array",
"ui:widget": "tagger",
"items": {
"label": "Role",
"type": "string",
"enum": [
[
"thumbnail",
"Thumbnail"
],
[
"overview",
"Overview"
],
[
"data",
"Data"
],
[
"metadata",
"Metadata"
]
]
}
}

```

is this an issue with the data and / or can STAC Manager be more robust against this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.