Topic: appearing "click" on the console
master@mastersistemas.net pro asked 6 years ago
Anna Morawska staff answered 6 years ago
Hi,
sorry, it looks like you use branch master of mdbreact package. This warning appears because of bug with dependencies which is already fixed on branch dev. I suggest waiting for our update.
If you can't wait, you can:
1) open this file : /node_modules/mdbreact/dist/mdbreact.js
2) find in this file (CTR + F) exactly this line (with comma): ,onClick:console.log("click")
and delete it , save the file, and then re-run your project with npm start / yarn start
This should help.
Best,
Ania
master@mastersistemas.net pro commented 6 years ago
Hello, any forecast for this update? I'm going through more problems and I believe it's because of this.Anna Morawska staff commented 6 years ago
Hello, next update is scheduled on 10th of Septembermaster@mastersistemas.net pro commented 6 years ago
Hello, to correct this problem with the branch, do I update the MDB package again or do I need to do some other specific process?master@mastersistemas.net pro answered 6 years ago
fade={false}the modal does not open and I get this error back on the console.
index.js:2178 Warning: Received `true` for a non-boolean attribute `in`. If you want to write it to the DOM, pass a string instead: in="true" or in={value.toString()}. in div (created by t) in t in div (created by t) in t
master@mastersistemas.net pro answered 6 years ago
fade={false}the modal does not open and I get this error back on the console.
index.js:2178 Warning: Received `true` for a non-boolean attribute `in`. If you want to write it to the DOM, pass a string instead: in="true" or in={value.toString()}. in div (created by t) in t in div (created by t) in t
master@mastersistemas.net pro answered 6 years ago
<ButtononClick={this.openModalNew}size="sm"roundedcolor="white">Novo</Button>
Anna Morawska staff commented 6 years ago
Thank you, I've just found it, It will be fixed in next release. Tomorrow changes will be available on branch dev. If you want to, you can also remove fade={false} from the modal component, it also should temporarily fix this. Sorry for the inconvenience. Best, AnnaFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Anna Morawska staff commented 6 years ago
Hello, thank you for reporting this. I' ve just looked through our code, in search for this console.log, but I haven't fount find it. Could you tell me which component exactly you use? Do you import our component in your application or use it in our demo app? Thank you in advance. Best, Ania