-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: custom style property is not working when toRequire attribute is set #2657
Comments
I managed to hotfix it by extending I replaced this
with this
It seems that the wrong JSFiddle with extended PropertyView - https://jsfiddle.net/6zf03t9w/ |
Offtop
->
Since I had a problem with displaying a custom style for a component of the same property as the built-in one. (in my application, the built-in style should be displayed for some components, and custom for others) |
Yeah, totally correct! Honestly, I use toRequire option and never seen this kind of issue so I'm not sure why this happening. Would you mind to create a PR with your fixes (maybe I'll try to investigate better)? |
@artf |
@artf Same problem here. I rolled back to 0.15.8 to fix the issue. |
Will be fixed in the next release, for now, you can avoid the issue by using this option on init selectorManager: { componentFirst: true }, @Podvodila In this way, you don't need to toggle off all selectors as the component will be selected by default |
Yes
Custom style property applying to component
Custom style property is not working
When I add custom style property(flex) with
toRequire: 1
parameter then custom style is not working. When I mark toRequire as 0 then style property work as expected.JSFiddle with
toRequire: 1
- https://jsfiddle.net/rjw7Lq93/1/JSFiddle with
toRequire: 0
- https://jsfiddle.net/rjw7Lq93/2/The text was updated successfully, but these errors were encountered: