Merge branch 'develop' into feature/digital/SSR-386
This commit is contained in:
commit
811bdc2b28
2 changed files with 1 additions and 24 deletions
|
|
@ -147,6 +147,7 @@ export default {
|
||||||
&:disabled,
|
&:disabled,
|
||||||
&.disabled {
|
&.disabled {
|
||||||
background-color: $gray-100;
|
background-color: $gray-100;
|
||||||
|
color: $gray-500;
|
||||||
filter: grayscale(100%);
|
filter: grayscale(100%);
|
||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 0 0 0 4px transparent;
|
box-shadow: 0 0 0 4px transparent;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@
|
||||||
class="form-control"
|
class="form-control"
|
||||||
v-model.trim="value"
|
v-model.trim="value"
|
||||||
v-maska="mask"
|
v-maska="mask"
|
||||||
@keydown="preventDateInput"
|
|
||||||
:type="type"
|
:type="type"
|
||||||
:ref="inputId"
|
:ref="inputId"
|
||||||
:id="inputId"
|
:id="inputId"
|
||||||
|
|
@ -138,17 +137,6 @@ export default {
|
||||||
this.$emit("update:modelValue", value);
|
this.$emit("update:modelValue", value);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
preventDateInput(evt) {
|
|
||||||
if (this.type === "date") {
|
|
||||||
if (/\d/.test(evt.key)) {
|
|
||||||
evt.stopPropagation();
|
|
||||||
evt.preventDefault();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
questionText() {
|
questionText() {
|
||||||
|
|
@ -203,18 +191,6 @@ export default {
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
||||||
input[type="date"]:invalid::-webkit-datetime-edit-year-field,
|
|
||||||
input[type="date"]:invalid::-webkit-datetime-edit-month-field,
|
|
||||||
input[type="date"]:invalid::-webkit-datetime-edit-day-field,
|
|
||||||
input[type="date"]:invalid::-webkit-datetime-edit-text
|
|
||||||
{
|
|
||||||
color: white;
|
|
||||||
background-color: white;
|
|
||||||
::placeholder {
|
|
||||||
content: " "
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="date"]::-webkit-inner-spin-button{
|
input[type="date"]::-webkit-inner-spin-button{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue