classcard-ui 0.2.595 → 0.2.596

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": "classcard-ui",
3
- "version": "0.2.595",
3
+ "version": "0.2.596",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -14,6 +14,7 @@
14
14
  </div>
15
15
  <div class="relative mt-1 rounded-md">
16
16
  <input
17
+ :readonly="readonly"
17
18
  :type="type"
18
19
  :value="inputValue"
19
20
  @input="$emit('input', $event.target.value)"
@@ -54,6 +55,10 @@ export default {
54
55
  label: {
55
56
  type: String,
56
57
  },
58
+ // Read only of input field
59
+ readonly: {
60
+ type: Boolean,
61
+ },
57
62
  // placeholder of input
58
63
  placeholder: {
59
64
  type: String,
@@ -121,7 +121,6 @@ export default {
121
121
  this.showSection = !this.showSection;
122
122
  },
123
123
  deleteItem(item) {
124
- console.log(this.listId);
125
124
  if (this.listId) {
126
125
  this.$emit("delete-item", this.listId, item);
127
126
  } else {