Skip to content

Use dash:DetailsEditor instead of dash:BlankNodeEditor #734

@dennisvang

Description

@dennisvang

The default schemas specify a dash:BlankNodeEditor where a dash:DetailsEditor would probably be more appropriate.

For example, the publisher should be rendered as a nested form with editable fields:

], [
sh:path dct:publisher ;
sh:node :AgentShape ;
sh:minCount 1 ;
sh:maxCount 1 ;
dash:editor dash:BlankNodeEditor ;
], [

However, the specified dash:BlankNodeEditor is supposed to be read-only:

Rendering: a read-only editor that displays the blank node similar to dash:BlankNodeViewer yet allows the surrounding user interface to at least provide a delete button.

On the other hand, the dash:DetailsEditor does render as nested form with editable fields:

Rendering: typically rendering as a nested form, using the properties defined by the sh:node or sh:class (in that order) of the property as fields. [...]

Also see Health-RI/health-ri-metadata#239

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementExisting functionality that can be improved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions