WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-160b51-54.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 = 97069 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: Correct way to validate MDBSelect in React Form
Hello,
After reading the documentation, I wonder if there is any way to validate a MDBSelect component, I was able to do it adding a text input under it and when the select change update the value of the text input, but I am sure that there is a better way to do it.
Thank you in advance
Resources (screenshots, code snippets etc.)
<div key={key}>
<label htmlFor={key}>{key}</label>
<MDBSelect id={key} color="secondary" getValue={value => this.handleValueChange(key, value)}>
<MDBSelectInput selected="Choose your option" />
<MDBSelectOptions>
<MDBSelectOption disabled>Choose your option</MDBSelectOption>
{this.renderAttributesValues(attribute_values[key])}
</MDBSelectOptions>
</MDBSelect>
<input type="text" id={"input-"+key} className="CatalogPhotoGridProductModal hide-input-form form-control" required />
<div className="valid-feedback">Nice Choice!</div>
<div className="invalid-feedback">
Please select a {key}.
</div>
</div>
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.13.0
- Device: Desktop
- Browser: Mozilla Firefox
- OS: Windows10
- Provided sample code: No
- Provided link: No