WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-12c408-1b.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 = 95865 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: Potential Bug in < mdb-auto-completer >. (select) isn't working.
Nicolas Tsue - Orbit Coins
pro asked 6 years ago
Hi,
MDB version: 7.4.3
Angular Version: 7.2.0
When working with MDB autocomplete component {@link: https://mdbootstrap.com/docs/angular/forms/autocomplete/ }, i have noticed that the (select) triger isn't fired. Tried to create a workaround solution with (click) in nested html tags, but they wasn't triggered either. could you please check your libs why isn't called?
(you probably calling $event.preventDefaults() somewhere, in a way it blocks events... just guessing...)
Expected behavior
when selecting item, we are expecting (select) event to be triggered.
Actual behavior
(select) event isn't triggered.
Resources (screenshots, code snippets etc.)
waiting for an answer, here is the code i have used:
<mdb-auto-completer #searchProductCode="mdbAutoCompleter" textNoResults="No items was found!" [appendToBody]="true" (select)="onItemSelect($event)">
<mdb-option *ngFor="let product of productsFilterList" [value]="product.code">
<div class="d-flex flex-column" (click)="onItemSelect(product)">
<strong>Code: {{product.code} }</strong>
<small>Brand: {{product.brandLabel} }</small>
<small>Label: {{product.label} }</small>
<small>Reference: {{product.reference} }</small>
<small>Supplier: {{product.suppliers[0]?.label} } (<span>#{{product.suppliers[0]?.code} }</span>)</small>
<a mdbBtn size="sm" floating="true" color="blue-grey" class="my-0" mdbWavesEffect (click)="onItemSelect(product)">
<mdb-icon fas icon="plus" size="lg"></mdb-icon>
</a>
</div>
</mdb-option>
</mdb-auto-completer>
Please investigate why (select) isn't working, also, could you please enable (click) in ?
Cheers,
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.4.2
- Device: Asus VivoBook S
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes