<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ADF and Angular Material 2  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/adf-and-angular-material-2/m-p/2674#M669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the background.....I am building an application using ADF and have update to Angular 2.0.0 beta 11.&amp;nbsp; I have upgraded to this version because there are a number of UI components which I want to use in workflow forms.&amp;nbsp; I have just run 'npm start' and when it loads into the browser I get the following error -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't bind to 'mdDatepickerToggle' since it isn't a known property of 'button'. ("&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;button&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [attr.data-automation-id]="'datepickertoggle-' + property.key"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ERROR -&amp;gt;][mdDatepickerToggle]="picker"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/button&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;md-datepicker #picker&lt;BR /&gt;"): ng:///CardViewModule/CardViewDateItemComponent.html@14:12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have done some research and this error is because [mdDatepickerToggle] has now been changed by the Material team to &amp;lt;&lt;CODE&gt;md-datepicker-toggle&lt;/CODE&gt;&amp;gt; element.&amp;nbsp; Sadly I cant regress to a previous version of Material 2 because of the new UI components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, here is my real question.....what should I do about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pulled a subversion from the ADF repository and was thinking of editing the code to work with the new version of Material 2 but once I have updated the code I am not sure how to use it locally or even if anyone would want me to resubmit to the main ADF branch for inculsion if appropriate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the ADF docs and am not sure which version of Material 2 they are built against?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some guidance on best way forward would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2017 21:30:45 GMT</pubDate>
    <dc:creator>nickchase</dc:creator>
    <dc:date>2017-09-26T21:30:45Z</dc:date>
    <item>
      <title>ADF and Angular Material 2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-and-angular-material-2/m-p/2674#M669</link>
      <description>This is the background.....I am building an application using ADF and have update to Angular 2.0.0 beta 11.&amp;nbsp; I have upgraded to this version because there are a number of UI components which I want to use in workflow forms.&amp;nbsp; I have just run 'npm start' and when it loads into the browser I get the fo</description>
      <pubDate>Tue, 26 Sep 2017 21:30:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-and-angular-material-2/m-p/2674#M669</guid>
      <dc:creator>nickchase</dc:creator>
      <dc:date>2017-09-26T21:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: ADF and Angular Material 2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-and-angular-material-2/m-p/2675#M670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure your Angular version is&amp;nbsp;2 beta 11? It's an extremely old version and not supported anywhere for like a year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Material2 library has its own life cycle and the latest version depends on "Angular 4.4.3 or greater":&amp;nbsp;&lt;A class="link-titled" href="https://github.com/angular/material2/releases" title="https://github.com/angular/material2/releases" rel="nofollow noopener noreferrer"&gt;Releases · angular/material2 · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latest ADF (1.9.0-beta6) depends on Material 2 (beta 10) though. The minimal version of the Angular to build ADF from sources is: 4.3.6. You can see all releases here:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/angular/angular/blob/master/CHANGELOG.md" title="https://github.com/angular/angular/blob/master/CHANGELOG.md" rel="nofollow noopener noreferrer"&gt;angular/CHANGELOG.md at master · angular/angular · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 10:38:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-and-angular-material-2/m-p/2675#M670</guid>
      <dc:creator>dvuika</dc:creator>
      <dc:date>2017-09-27T10:38:24Z</dc:date>
    </item>
  </channel>
</rss>

