rero / ng-core

Angular library for Invenio
4 stars 12 forks source link

With the markdown wrapper the title of the property is not displayed #459

Open fredgaillardUniDistance opened 2 years ago

fredgaillardUniDistance commented 2 years ago

Describe the issue when a property is wrapped with the markdown type, its title is not displayed

To Reproduce With this JSONschema { "$schema": "http://json-schema.org/draft-07/schema#", "id": "http://domain.com/schemas/test/test-v1.0.0.json", "title": "Test Markdown editor", "type": "object", "propertiesOrder": [ "editor" ], "required": [ "$schema", "pid", "editor" ], "additionalProperties": false, "properties": { "$schema": { "description": "JSONSchema test", "type": "string" }, "pid": { "description": "Invenio record identifier.", "type": "string", "minLength": 1 }, "editor": { "title": "Title Markdown editor", "type": "string", "minLength": 10, "form": { "type": "markdown" } } } }

Expected behavior Property title "Title Markdown editor" is not displayed

Screenshots

Capture d’écran 2021-10-14 à 15 07 18