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
disableInjectedStyle option #455
Conversation
* Build process refactor WIP * Start switch to npm only * IE11 compatibility * Return event so dispatch functions correctly * Fix classNames conditional * IE11 compatibility * Return event so dispatch functions correctly * IE11 compatibility * Fix classNames conditional * Add required attribute to base control, remove for checkbox-group * Rebase against dev * IE11 compatibility * Add args argument to mi18n lookup, attach dom element reference to Control instance, Add support for HTML5 constraint validation for checkbox-groups * rebase from chore/build-process * Sync up dev, add .map files to .gitignore * disableInjectedStyle option (#455) * Bugfix: regeneratorRuntime * Add option to disableInjectedStyle * Other text and option should have different names. Resolves #442 (#456) * Fix syntax
* Build process refactor WIP * Start switch to npm only * IE11 compatibility * Return event so dispatch functions correctly * Fix classNames conditional * IE11 compatibility * Return event so dispatch functions correctly * IE11 compatibility * Fix classNames conditional * Add required attribute to base control, remove for checkbox-group * Rebase against dev * IE11 compatibility * Add args argument to mi18n lookup, attach dom element reference to Control instance, Add support for HTML5 constraint validation for checkbox-groups * rebase from chore/build-process * Sync up dev, add .map files to .gitignore * disableInjectedStyle option (#455) * Bugfix: regeneratorRuntime * Add option to disableInjectedStyle * Other text and option should have different names. Resolves #442 (#456) * Fix syntax
Seems like it still injects styles for toggles (kc-toggle) ... used to overwrite that through css, now it shows default styles again, even when disableInjectedStyle is set to true |
@aromka is the toggle the only issue? Is this in formRender, formBuilder or both? this feature probably needs to be extended to formRender as I only remember doing it for formBuilder |
Only seeing it in formBuilder right now, haven't checked formRender yet. |
So all styles disappear except toggle or it's not working at all? |
It seems like some other styles are injected as well - see screenshot: https://image.prntscr.com/image/af89edfaac0142b59d4afdfbbc7bc16f.png |
Resolves #443