[new feature] AddressEdit: add detail-maxlength prop (#3707)

This commit is contained in:
neverland
2019-07-01 15:27:54 +08:00
committed by GitHub
parent bb43ff270d
commit 2cda962bdb
4 changed files with 11 additions and 1 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ export default createComponent({
focused: Boolean,
detailRows: Number,
searchResult: Array,
detailMaxlength: Number,
showSearchResult: Boolean
},
@@ -69,10 +70,10 @@ export default createComponent({
rows={this.detailRows}
clearable={!android}
type="textarea"
maxlength="200"
value={this.value}
error={this.error}
label={t('label')}
maxlength={this.detailMaxlength}
placeholder={t('placeholder')}
scopedSlots={{ icon: this.renderFinish }}
{...{ on: this.$listeners }}