@avakhula/ui 0.0.155 → 0.0.156

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avakhula/ui",
3
- "version": "0.0.155",
3
+ "version": "0.0.156",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
package/src/App.vue CHANGED
@@ -6,7 +6,7 @@
6
6
  Email address
7
7
  </ib-label>
8
8
 
9
- <ib-input required autofocus type="email" id="email" name="email" ref="email"
9
+ <ib-input required autofocus type="email" id="email" name="email" ref="email" :disabled="disabled"
10
10
  placeholder="Enter your email address" />
11
11
  </ib-form-group>
12
12
 
@@ -15,9 +15,11 @@
15
15
  Password
16
16
  </ib-label>
17
17
 
18
- <ib-input required autofocus type="password" id="password" name="password" />
18
+ <ib-input required autofocus type="password" id="password" name="password" :disabled="disabled" />
19
19
  </ib-form-group>
20
20
  </form>
21
+
22
+ <button type="button" @click="() => disabled = !disabled">Disbaled</button>
21
23
  </template>
22
24
 
23
25
  <script>
@@ -27,6 +29,11 @@ import IbFormGroup from "./components/Form/FormGroup/FormGroup.vue"
27
29
 
28
30
 
29
31
  export default {
32
+ data() {
33
+ return {
34
+ disabled: false,
35
+ }
36
+ },
30
37
  components: {
31
38
  IbInput, IbLabel, IbFormGroup
32
39
  }
@@ -6,6 +6,7 @@
6
6
  <input
7
7
  v-bind="attrs"
8
8
  v-model="actualValue"
9
+ ref="field"
9
10
  :readonly="readonly"
10
11
  :disabled="disabled"
11
12
  :id="id"