Topic: Angular Material Components Not reflecting in mdb angular project

sauravs24 free asked 7 years ago


Hi, I  am trying to use angular material components in some cases directly from material.angular.io ,for example I have copy pasted the following  material radio button code directly into app.component.html .:
<md-radio-group>
  <md-radio-button value="1">Option 1</md-radio-button>
  <md-radio-button value="2">Option 2</md-radio-button>
</md-radio-group>

But the radio button is not reflecting inside the form or card that I have created.

Also,I have downloaded and installed angular material package ,and 
in "app-module.ts" I have imported the "import {MdButtonModule, MdCheckboxModule} from '@angular/material';"


Please help.





Adrian Sawicki free answered 7 years ago


Hello, From what I know parts of angular material might not work properly with mdb-angular. I guess mdb-angular radio are overwriting angular material radio in some way. Why won't you use our radio instead of material?

sauravs24 free commented 7 years ago

Thanks for answering Adrian.It's working now.I was doing few thing wrong. And as per my observation, angular material theme is working fine along with mdb-angular.No problem at all. The radio button design used in mdb-angular ,it personally didn't fit in our design pattern that we are building.So we are trying to use a mix of both,i.e mdb-angular and material. Between you guys did the great job creating mdb-angular.Codes are well organized. Thanks.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags