Issue #1460Opened September 26, 2018by YashPrince1 reactions

Hide Trait Element

Question

How can I hide a trait element while creating a trait for the component.

 traits: [ {
                            label: "XYZ",
                            name: "xyz",
                            defaults:0,
                            changeProp: 1,
                            type: 'text',
                            min:0
     }]

Is there any way like display:none or hidden:1. How can I show or hide any trait, Any help would be appreciated.

Answers (2)

artfSeptember 29, 20181 reactions

You can pass something like this attributes: {style: 'display: none'}

lock[bot]September 29, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.