mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00:00
[new feature] AddressEdit: add detail-maxlength prop (#3707)
This commit is contained in:
@@ -49,6 +49,10 @@ export default createComponent({
|
||||
type: Number,
|
||||
default: 1
|
||||
},
|
||||
detailMaxlength: {
|
||||
type: Number,
|
||||
default: 200
|
||||
},
|
||||
addressInfo: {
|
||||
type: Object,
|
||||
default: () => ({ ...defaultData })
|
||||
@@ -263,6 +267,7 @@ export default createComponent({
|
||||
value={data.addressDetail}
|
||||
error={errorInfo.addressDetail}
|
||||
detailRows={this.detailRows}
|
||||
detailMaxlength={this.detailMaxlength}
|
||||
searchResult={this.searchResult}
|
||||
showSearchResult={this.showSearchResult}
|
||||
onFocus={onFocus('addressDetail')}
|
||||
|
Reference in New Issue
Block a user