feat(AddressEdit): show error message in field (#5479)

This commit is contained in:
rex
2020-01-06 13:57:14 +08:00
committed by neverland
parent bc3bea3fed
commit ecff8c4b42
2 changed files with 15 additions and 13 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ const android = isAndroid();
export default createComponent({
props: {
value: String,
error: Boolean,
errorMessage: String,
focused: Boolean,
detailRows: Number,
searchResult: Array,
@@ -89,7 +89,7 @@ export default createComponent({
clearable={!android}
type="textarea"
value={this.value}
error={this.error}
errorMessage={this.errorMessage}
border={!this.shouldShowSearchResult}
label={t('label')}
maxlength={this.detailMaxlength}