Hi
I am using expansion panel in Angular 17 but it is not getting displayed. Below is the HTML
I want that on right Hand Side some arrow (say v ) should be displayed when clicked it should expand. .
If it again clicked it should collapse.
Father
Custody Allowed
Correspondence Address
Full Name
{{fatherData.fullName}}
Date of birth
{{fatherData.dateOfBirth }}
Occupation
Software Engineer
Department
{{fatherData.department}}
Specialization
{{fatherData.specialization}}
Address
Official
Industrial Area, Phase 2, Mohali, India, Punjab, Chandigarh - 160275
Latitude: 365214 Longitude: 425632
Description
This address is official address and not permanent address, so don't follow this address.
Thanks
Jayraj ChhayaPosted Jul 23, 2024, 11:49 AM
The issue you're facing with the Mat Expansion Panel not getting displayed in Angular 17 can be resolved by ensuring that you have imported the necessary modules and components correctly.
First, make sure you have imported the MatExpansionModule in your Angular module file
Next, ensure that you have included the necessary styles and scripts in your index.html file:
Additionally, check if you have imported the necessary CSS styles for the expansion panel in your component's CSS file:
Finally, ensure that you have the correct HTML structure for the expansion panel. In your case, it seems like you have the correct structure with the
andelements.If the issue persists, please provide more details or any error messages you are encountering so that I can assist you further.