WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-592487-23.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`

mdb-input checkbox / radio - Material Design for Bootstrap

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-592487-26.MAI' (Errcode: 28 "No space left on device")]
SELECT p.*, o.option_value, GROUP_CONCAT(DISTINCT CONCAT(m.meta_key, "::", m.meta_value) separator "::::") as seo_meta, t.slug, tr.language_code as language FROM wp_posts p JOIN wp_postmeta m ON p.ID = m.post_id JOIN wp_options o ON o.option_name = "siteurl" JOIN wp_term_relationships r ON r.object_id = p.ID JOIN wp_term_taxonomy x ON x.term_taxonomy_id = r.term_taxonomy_id JOIN wp_terms t ON t.term_id = x.term_id JOIN wp_icl_translations tr ON p.ID = tr.element_id WHERE post_type = "page" AND post_status = "publish" AND tr.language_code = 'en' AND t.slug IN ('jquery') AND x.taxonomy = "page_cat" AND tr.element_type = "post_page" AND meta_key IN ("_yoast_wpseo_title", "_yoast_wpseo_metadesc") GROUP BY p.ID

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-592487-27.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`

mdb-input checkbox / radio

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-592487-28.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 = 105451 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: mdb-input checkbox / radio

digitalmanagerguru asked 6 years ago

Expected behavior

I expect mdb-input to work equally for any kind of type

Actual behavior

When using type checkbox or radio, the mdb-input doesnt appear.

Resources (screenshots, code snippets etc.)

I've created a custom-mdb-input, basically like this:

<template>
<div>
    <mdb-input v-bind="$attrs" @input="$emit('input', $event)">
        <slot></slot>
    </mdb-input>
</div>
</template>

<script>
import { mdbInput } from 'mdbvue';

export default {
  name: "CustomMdbInput",
  components: {
    mdbInput
  },
}
</script>

<style scoped>

::v-deep .md-form input[type]:focus:not([readonly]) {
    box-shadow: none !important;
    border-bottom: solid 2px #8470f2;
  }

::v-deep .md-form label, 
::v-deep .md-form p, 
::v-deep .md-form span {
    font-family: Nunito, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    color: #aaaeb3;
    text-transform: uppercase;
  }

::v-deep .md-form p,
::v-deep .md-form span {
    cursor: default;
    line-height: 2.2;
  }

::v-deep .md-form span {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: normal;
    text-transform: unset;
    color: grey;
  }

::v-deep .md-form label.active,
::v-deep .md-form textarea~label.active,
::v-deep .md-form input[type]:focus:not([readonly])+label {
    color: #8470f2!important;
    font-size: medium;
    line-height: 1;
  }

</style>

But when I use

<custom-mdb-input type="checkbox"> or <custom-mdb-input type="radio"> it doesnt work as expected. Since I get this:

<div data-v-c53a739e="" id="terms" type="checkbox" label="I Accept">
    <div data-v-c53a739e="" class="form-check">
        <input data-v-fd1539ca="" id="terms" type="checkbox" step="1" aria-label="I Accept" class="form-control form-check-input">
        <label for="terms" class="form-check-label mr-5">I Accept</label>
    </div>
</div>

instead of:

<div data-v-c53a739e="" class="form-check">
        <input data-v-fd1539ca="" id="terms" type="checkbox" step="1" aria-label="I Accept" class="form-control form-check-input">
        <label for="terms" class="form-check-label mr-5">I Accept</label>
</div>

It seems there is a problem on the mixins of mdbInput for what I quickly checked.And that "mr-5" also added by the mixin, why is inserted?! We can't even added a labelClass="mr-0" to deny it. :/

Hope you guys can fix this. 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
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.2.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: No
Tags

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-592487-2c.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-592487-2d.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`