@westartcom/bread-quasar-fields 0.1.18 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,5 @@
1
1
  <template>
2
2
  <div class="field-wrap boolean" :id="id">
3
- <div class="field-description" v-if="field.description">{{ field.description }}</div>
4
-
5
3
  <div class="field-wrap-inner">
6
4
  <template v-if="stylingFormat === 'toggle'">
7
5
  <q-toggle
@@ -8,8 +8,6 @@
8
8
  </div>
9
9
  </div>
10
10
 
11
- <div class="field-description" v-if="field.description">{{ field.description }}</div>
12
-
13
11
  <div class="field">
14
12
  <label
15
13
  v-for="(label, optionValue) in allOptions"
@@ -4,7 +4,7 @@
4
4
  <q-input
5
5
  :label="(showLabel) ? field.label + ((field.required) ? ' *' : '') : undefined"
6
6
  :name="field.name"
7
- :id="id + '-input'"
7
+ :for="id + '-input'"
8
8
  :placeholder="field.placeholder"
9
9
  type="date"
10
10
  class="field"
@@ -4,7 +4,7 @@
4
4
  <q-input
5
5
  :label="(showLabel) ? field.label + ((field.required) ? ' *' : '') : undefined"
6
6
  :name="field.name"
7
- :id="id + '-input'"
7
+ :for="id + '-input'"
8
8
  :placeholder="field.placeholder"
9
9
  type="email"
10
10
  class="field"
@@ -4,7 +4,7 @@
4
4
  <q-input
5
5
  :label="(showLabel) ? field.label + ((field.required) ? ' *' : '') : undefined"
6
6
  :name="field.name"
7
- :id="id + '-input'"
7
+ :for="id + '-input'"
8
8
  :placeholder="field.placeholder"
9
9
  type="number"
10
10
  class="field"
@@ -9,6 +9,7 @@
9
9
  dropdown-icon="fa-solid fa-angle-down"
10
10
  use-input
11
11
  outlined
12
+ :for="id + '-input'"
12
13
  :disable="isDisabled"
13
14
  input-debounce="100"
14
15
  :label="(showLabel) ? field.label + ((field.required) ? ' *' : '') : undefined"
@@ -8,7 +8,7 @@
8
8
  : undefined
9
9
  "
10
10
  :name="field.name"
11
- :id="id + '-input'"
11
+ :for="id + '-input'"
12
12
  :placeholder="field.placeholder"
13
13
  type="tel"
14
14
  class="field"
@@ -4,7 +4,7 @@
4
4
  <q-input
5
5
  :label="(showLabel) ? field.label + ((field.required) ? ' *' : '') : undefined"
6
6
  :name="field.name"
7
- :id="id + '-input'"
7
+ :for="id + '-input'"
8
8
  :loading="loading"
9
9
  :placeholder="field.placeholder"
10
10
  type="text"
@@ -13,7 +13,7 @@
13
13
  min-height="10rem"
14
14
  :label="(showLabel) ? field.label + ((field.required) ? ' *' : '') : undefined"
15
15
  :name="field.name"
16
- :id="id + '-input'"
16
+ :for="id + '-input'"
17
17
  :placeholder="field.placeholder"
18
18
  :class="{'invalid': (invalid && internalErrors && internalErrors.length)}"
19
19
  :maxlength="(field.extra_data && field.extra_data.max) ? field.extra_data.max : null"
@@ -31,7 +31,7 @@
31
31
  v-else
32
32
  :label="(showLabel) ? field.label + ((field.required) ? ' *' : '') : undefined"
33
33
  :name="field.name"
34
- :id="id + '-input'"
34
+ :for="id + '-input'"
35
35
  :placeholder="field.placeholder"
36
36
  type="textarea"
37
37
  class="field"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@westartcom/bread-quasar-fields",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "Quasar compatible fields for bread package",
5
5
  "main": "index.js",
6
6
  "scripts": {