Skip to content

Commit

Permalink
Merge 2712ac4 into 6244663
Browse files Browse the repository at this point in the history
  • Loading branch information
Nii Yeboah committed Feb 27, 2019
2 parents 6244663 + 2712ac4 commit 22fc87b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vaadin-text-field-mixin.html
Expand Up @@ -189,7 +189,8 @@
*/
errorMessage: {
type: String,
value: ''
value: '',
reflectToAttribute: true
},

/**
Expand Down
6 changes: 6 additions & 0 deletions theme/material/vaadin-text-area-styles.html
Expand Up @@ -6,6 +6,7 @@
[part="input-field"] {
height: auto;
box-sizing: border-box;
position: static;
}

/* NOTE(platosha): double attribute workarounds specifity for Firefox */
Expand All @@ -19,6 +20,11 @@
white-space: pre-wrap; /* override `nowrap` from <vaadin-text-field> */
align-self: stretch; /* override `baseline` from <vaadin-text-field> */
}

:host([invalid][error-message]:not([error-message=""])) [part="input-field"]::after,
:host([invalid][error-message]:not([error-message=""])) [part="input-field"]::before {
bottom: 18px;
}
</style>
</template>
</dom-module>

0 comments on commit 22fc87b

Please sign in to comment.