@beisen-phoenix/mobile-field-area

> 移动端地区选择字段

Usage no npm install needed!

<script type="module">
  import beisenPhoenixMobileFieldArea from 'https://cdn.skypack.dev/@beisen-phoenix/mobile-field-area';
</script>

README

描述

移动端地区选择字段

name description type default
isMulti 是否是多选 boolean false
text 默认值label(北京、天津、上海) string
value 默认值id(1,2,3,4) string
hasError 是否显示错误 boolean false
readOnly 是否只读状态 boolean false
onChange 字段值发生变化后的回调函数 function (data)=>void
translation 多语言支持 object {labelText: '请选择地区',clearText: '清空',cancelText: '取消',submitText: '完成',selectPlaceholderText: '请在下方选择地区'}