typo? or version change? in model documentation


Topic: typo? or version change? in model documentation

bsesslar pro asked 6 years ago

In all of the model documentation on the site has changed the main model <div tag from 
#basicModal="mdb-Modal" to #basicModal="mdbModal".
<div mdbModal #basicModal="mdb-Modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myBasicModalLabel"
  aria-hidden="true">
<div mdbModal #basicModal="mdbModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myBasicModalLabel"
  aria-hidden="true">

i believe this is a change that came with a version update, but there is no reference to the change in the documentation.
this defiantly will cause confusion for users. In my version 6.1 angular if you copy past the html over to a project it creates a console error.
There is no directive with “exportAs” set to “mdbModal” 

then users have to figure out the have to add the dash in order to fix the error.
if only temporary their should be some warning in the documentation for users to reference.
saving users time tracking down errors caused from version changes

Arkadiusz Idzikowski staff answered 6 years ago

Dear bsesslar, It's because there are new selectors for directives and components. Both versions works, but you need to change directive name and basicModal value. Best, Arek
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No