ld-r icon indicating copy to clipboard operation
ld-r copied to clipboard

property set to isHidden is still visible in detailed view

Open mathib opened this issue 5 years ago • 0 comments

Expected Behavior

When setting a property to isHidden the property should not show in regular reactor view and detailed view.

Actual Behavior

The property is hidden in regular reactor view but not in detailed view

Steps to Reproduce the Problem

  1. Add a named property and set isHidden in reactor.js:
        property: {
            'generic': {
                propertyReactor: ['IndividualProperty'],
                //following are object-based scope:
                objectReactor: ['IndividualObject'],
                //to view/edit individual object values
                objectIViewer: ['BasicIndividualView'],
                objectIEditor: ['BasicIndividualInput'],
                extendedOEditor: ['BasicIndividualDetailEdit'],
                extendedOViewer: ['BasicIndividualDetailView'],
                shortenURI: 0, 
                category: ['General properties'], // MB: default category for all properties
                allowNewValue: 1,
            },
            'https://domain.org/myhiddenproperty': {
                isHidden: 1,
            },

Specifications

  • Version: LD-R 1.3.7
  • Platform: Windows 10

mathib avatar Apr 28 '20 15:04 mathib