Using slider in composite styling
Open the issue in the correct repository and indicate steps to reproduce it, when trying to change value of slider what does it mean?!?
Read full answer below ↓Question
When adding a slider to a composite type property I am getting the following error (when trying to change value of slider):
InputNumber.js?d43d:244 Uncaught SyntaxError: Invalid regular expression: /^initial|inherit/: Stack overflow at child.validateInputValue (InputNumber.js?d43d:244) at child.parseValue (PropertyInteger.js?83a3:40) at child.valueOnIndex (PropertyCompositeView.js?8ca1:122) at customValue (PropertyCompositeView.js?8ca1:88) at child.getTargetValue (PropertyView.js?aa5b:274) at child.targetUpdated (PropertyView.js?aa5b:194) at executeBound (underscore.js?17fb:762) at child.eval (underscore.js?17fb:775) at child.eval (underscore.js?17fb:122) at triggerEvents (backbone.js?ab5c:369)
The line in the code that it fails on:
// If the value is one of the fixed values I leave it as it is
var regFixed = new RegExp('^' + fixed.join('|'), 'g');
if (fixed.length && regFixed.test(val)) {
Is there a solution for this?
Answers (2)
Open the issue in the correct repository and indicate steps to reproduce it, when trying to change value of slider what does it mean?!?
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.
Issue #1614
[Bug]: adding css variables as style manager property
trying to add css variable to style manager causing error: Uncaught TypeError: Cannot read property 'toUpperCase' of undefined fiddle Am i...
Issue #1520
[Bug] On this.components() Error : Uncaught TypeError: Cannot read property 'each' of undefined
Get below error for this.components() not sure if it is bug or I am doing something wrong. Uncaught TypeError: Cannot read property 'each'...
Issue #1003
[Question/ bug]"Uncaught TypeError: t.get is not a function" on adding select-comp
on adding button "select" component { id : 'select', className : 'fa fa-mouse-pointer', command : 'select-comp', }, in button's panels gett...
Issue #1925
ColorPicker pallete empty value problem
We have this error: "Cannot read property 'getAlpha' of null" when i set the property allowEmpty in true. Can you check this? I'm trying th...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Related tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.