WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-190f0e-6.MAI' (Errcode: 28 "No space left on device")]SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 98790 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC
Topic: my accordion does not expand dynamically.
yeisonvelez11
asked 6 years ago
I think the documentation is simple, I must put a boolean in [collapsed], but in my case only the arrow changes, but the accordion is not expanded. I have a somewhat extensive code, so I preferred to create a brief example with my problem. I need open an accordion from .ts
<mdb-accordion [multiple]="true" *ngFor="let item of array" >
<mdb-accordion-item [collapsed]="!item.check" >
<mdb-accordion-item-head>
.
.
<a (click)="fn_openAcordion(0)">1</a>
<a (click)="fn_openAcordion(1)">2</a>
<a (click)="fn_openAcordion(3)">1</a>
//this is the response of webservice that I cant modify
this.array=[
{"name":"pedro"},
{"name":"juan "},
{"name":"miguel"},
]
// I add boolean var
for(var i in this.array){
this.array[i]["check"]=false;
}
fn_openAcordion(index){
//only changes the arrow of the accordion
this.array[0].check=true;
}
Is strange that the accordion does not expand, I would like to know if there is a way to correct this or have a plan b. The only thing that is affected is the arrow indicating the accordion, but the accordion does not expand.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.5.1
- Device: WEB
- Browser: chrome
- OS: windows 10
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 6 years ago
Dear @yeisonvelez11
Do you want to open accordion dynamically after loading the page (with [collapsed] input)? Or you want to open accordion with the button? Please describe it.
yeisonvelez11 commented 6 years ago
yes with [collapsed] input as first way, and as plan b open with the button...