[WIP] Фикс пропсов

This commit is contained in:
megavrilinvv
2023-01-19 17:44:17 +03:00
parent 61085dc51a
commit b62357457a
4 changed files with 5 additions and 10 deletions

View File

@@ -58,7 +58,7 @@ export default {
},
mask: String,
width: Number,
maxLength: String,
maxLength: Number,
textColor: String,
rule: Array,
modelValue: [String, Date],

View File

@@ -1,5 +1,5 @@
<template lang="pug">
.container.flex.flex-col.gap-y-2(@click="click")
.container.flex.flex-col.gap-y-2
base-input-container(
:label="radioButtonsLabel"
)
@@ -50,11 +50,6 @@ export default {
},
},
},
methods: {
click() {
console.log(this.modelValue);
},
},
};
</script>

View File

@@ -137,7 +137,7 @@
@click="deleteNote(item.id)"
)
client-detail-input.text-sm.w-max-fit.relative(
maxLength="40",
:maxLength="40",
:style="{fontWeight:key === 'number'&&600}",
v-model="sectionInfo[key].title",
placeholder="Заголовок"
@@ -148,7 +148,7 @@
) {{`${sectionInfo[key].title.length}/40`}}
.title-section.text-xxs.font-semibold Описание
client-detail-input.text-sm.w-max-fit(
maxLength="40",
:maxLength="40",
:style="{fontWeight:key === 'number'&&600}",
v-model="sectionInfo[key].description",
placeholder="Описание"

View File

@@ -21,7 +21,7 @@ export default {
props: {
modelValue: String,
sharp: String,
maxLength: String,
maxLength: Number,
placeholder: String,
},
computed: {