BUG: Traits value type select doesn't fill value
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Chrome 108
Reproducible demo link
https://grapesjs.com/demo.html
Describe the bug
How to reproduce the bug?
Use the tooltip component and get Traits via editor.getSelected().getTraits() as you can see data-tooltip-length value is empty, after setting the trait via the setting panel it fills the value but after refreshing the page again value is false. other types like boolean and text fill values even after refreshing the page I think something is wrong with the type selected. this happened for all of the components that use the select-type traits.

Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #5268
BUG: autoplay for youtube or vimeo doesn't work
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v115 Reproducible demo link https:/...
Issue #5775
BUG: component.get('traits').clone() is no longer available.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Arc Version 1.35.0 / Chromium Engine 123.0...
Issue #5378
BUG: Uncaught TypeError: Cannot read properties of undefined (reading 'Canvas') while dragging a component in Layer Manager Panel
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v116.0.5845.97 Reproducible demo li...
Issue #4257
BUG: Background modification doesn't work for non-images
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v100 Reproducible demo link https:/...
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.