Lock Trait Values
Question
QUESTION: Is it possible to lock a trait value so that it cannot be updated in the editor for select components?
Answers (1)
Not really, probably the best solution here would be a simple pointer-events: none with CSS
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1047
[BUG] Model not able to change after changing value in custom Select dropdown menu.
Hey, I'm using CDN link for grapes js from unpkg.com In my project, I've used custom trait as a drop-down select menu which changes HTML us...
Issue #3541
[QUESTION] What is the idiomatic way to append and remove classes from components?
Hey there 👋 Love the editor! We're using traits to modify what classes a component has, but that feels a bit hacky as you have to redeclar...
Issue #2762
[QUESTION] How to listen to trait value change directly from block add
I'm passing following JSON to editor.BlockManager.add() function to define my block, load it's content from the server and populate select-...
Issue #3627
[QUESTION]: I'm trying to duplicate the page, but the styles are not geting applied due to the Ids, changes to -2,-3 at the end.
This is what my function looks like. I am trying duplicate the page, the HTML part is fine but as css is applied through ids, when a new pa...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.