title: Binding to event property 'onlyCurrentMonth' is disallowed for security reasons After enable enableIvy:true
body: <p>In my project I have used <code>Angular-7</code> after enable <code>ivy</code> in tsconfig.json showing error</p>
  
  <p><a href="https://i.stack.imgur.com/fTV1E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fTV1E.png" alt="enter image description here"></a></p>
  
  <p>My <code>tsconfig.json</code> file:</p>
  
  <pre><code>{
       "compileOnSave": false,
       "compilerOptions": {
            "baseUrl": "./",
            "outDir": "./dist/out-tsc",
            "sourceMap": true,
            "declaration": false,
            "moduleResolution": "node",
            "emitDecoratorMetadata": true,
            "experimentalDecorators": true,
            "target": "es5",
            "typeRoots": [
                 "node_modules/@types"
            ],
            "lib": [
                 "es2017",
                 "dom"
            ]
       },
       "angularCompilerOptions": {
            "enableIvy": true
       }
  }
  </code></pre>
  
  <p>In my project i have used <code>BsDatepickerModule</code> Module.</p>
  
  <p>How to solve this issue ?</p>