Issue #2206Opened August 20, 2019by WebEtSolutions0 reactions

Style value to "undefined !important"

Question

Code SnippetTEXT
Hi !

Little problem when I type a style property with important. When I clear the value of the field (like color type for exemple) value is set to "undefined !important".

For fix this, on Property.getFullValue, you must check the value before add " !important" :

if (value !== undefined && this.get('important')) 
{
        value = `${value} !important`;
}

Bye !

Answers (1)

artfAugust 25, 20190 reactions

Thanks @WebEtSolutions it'll be fixed in the next release

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.