Topic: Color Picker Plugin problem
Pandic_AT free asked 5 years ago
Hello,
mdb-color-picker plugin dont works well in modal, I cant move with opacity slider or select color. If the plugin is outside the modal, it works fine.
Does color picker has variable bindings? If not, how to do this? When opening a color picker, I need him to load a color from a variable (rgba), and save it to the variable when I changes color or opacity. I will be glad for any advice. Thanks.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.4.0
- Device: PC
- Browser: Chrome
- OS: Win 10
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 5 years ago
We will take a closer look at the problem with modals, thank you for letting us know about that. From what we found so far, it looks like this problem occurs only in static modal, you can try to use dynamic modal instead: https://mdbootstrap.com/docs/angular/modals/basic/#dynamic
Unfortunately it's not possible to set a default color value with a binding in current version of the plugin. We will take a closer look at that and try to add this feature in the future.