Add option to hide components #13

Open
opened 2022-06-20 15:54:48 +00:00 by brajkovic · 0 comments
Owner

Add new optional attribute @hide to components, this would allow us to hide component instances either in system menu or in display

Syntax:

@hide HIDE_STYLE

Where:
HIDE_STYLE can be one of the following values:

  • default - behaviour remains same as not adding @hide attribute
  • hide_in_menu - adds -- to component name, making it not appear in system menu inside COMDEL
  • hide_on_display - doesn't generate code to display component instance in display
  • always - same behaviour as adding hide_in_menu and hide_on_display
Add new optional attribute `@hide` to components, this would allow us to hide component instances either in system menu or in display __Syntax:__ ``` @hide HIDE_STYLE ``` __Where:__ HIDE_STYLE can be one of the following values: - __default__ - behaviour remains same as not adding `@hide` attribute - __hide_in_menu__ - adds `--` to component name, making it not appear in system menu inside COMDEL - __hide_on_display__ - doesn't generate code to display component instance in display - __always__ - same behaviour as adding __hide_in_menu__ and __hide_on_display__
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: brajkovic/schema_editor#13
No description provided.