Merge branch 'develop' into feature/digital/SSR-386

This commit is contained in:
Katie Kroell 2023-06-06 18:04:52 -04:00
commit 811bdc2b28
2 changed files with 1 additions and 24 deletions

View file

@ -147,6 +147,7 @@ export default {
&:disabled,
&.disabled {
background-color: $gray-100;
color: $gray-500;
filter: grayscale(100%);
&:hover {
box-shadow: 0 0 0 4px transparent;

View file

@ -16,7 +16,6 @@
class="form-control"
v-model.trim="value"
v-maska="mask"
@keydown="preventDateInput"
:type="type"
:ref="inputId"
:id="inputId"
@ -138,17 +137,6 @@ export default {
this.$emit("update:modelValue", value);
},
preventDateInput(evt) {
if (this.type === "date") {
if (/\d/.test(evt.key)) {
evt.stopPropagation();
evt.preventDefault();
return false;
}
}
}
},
computed: {
questionText() {
@ -203,18 +191,6 @@ export default {
<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{
display: none;
}