<Input ref={inputRef} value={inputValue} type="text" maxlength={6} /> 预期效果 发送验证码后...
AtInputNumber 组件和 AtInput 组件 type 是 number 的时候,在 微信的 h5 输入小数点后,光标失去焦点,不能进行小数点的输入 复现步骤 <View className="ei-item unitPrice"> <AtInput clear maxLength={getPriceInputConfig(1, invoiceType, plateType, true).config.max
<View className='foodInput'> <Input type='number' value={initVal} onInput={(info) => { // 这里console出来的item始终是最后一个数据 console.log(item) const newFoodsData = this.state.foodsData.slice().map((ite) => ({ ...ite, amount: ite.id === item.id ? info.target.value : ...
See error [或者可以直接贴源代码,能贴文字就不要截图] <Input className={styles.form__item__input} maxLength='11' type='number' name='mobile' id='mobile' placeholder='请输入手机号' onInput={this.onChange.bind(this, 'mobile')} /> 期望行为 [这里请用简洁清晰的语言描述你期望的行为] 报错信...
3、prebundle 配置在 v3.5.6 中开发环境默认是开启状态,如果开发者不清楚实际作用的话,建议主动关闭。 javascript 1 2 3 4 5 6 7 8 9 /** config/index.js */ constconfig = { compiler: { type:"webpack5", prebundle: { enable:false, ...
2.7 input高度100%不生效 原因: input -> taro-input-core > input 解决办法: taro-input-core{ height: 100%; } taro-input-core input{ height: 100% !important; } 1. ...
input-number: 修复禁用无效问题 (#2680) @iCheng list: 修复滚动滑动触底报错问题 (#2658) @zhangyuanliang swiper: 修复 swiper-item 宽高错误问题 (#2679) @eiinu address: 选择最后一级时 onChange 缺少 value 字段 @eiinu picker: 调整 columns 类型定义 (#2662) @eiinu input: 调整 type 类型定义 ...
taro-components-rn: 修复Input组件不支持onChange事件,没有保持端一致性 (b0f1c3a) transformer: propsManager.set 不再设置对象字面量 (40535ee), closes #3721 transformer: slot 内的 wx:key 没有呗替换为 key (409da2c), closes #3738 transformer: wx:else 不能和 wx:for 同时存在一个标签 (0e3254...
getPhoneNumberHandler = () => { } } = this; const {nickName = '', avatar = '', show = true, showPhone = true, phone = ''} = this.state; return ( <View className='hupu-userInfo'> <LdmUserInfo visible={show} type='userInfo' text='获取个人信息' callBack={getUserInfoHandler}>...
问题描述 在封装Taro的input组件做成一个可以自由加减以及输入的组件时,发现在weapp上ok的封装在rn中出现异常。 复现步骤 引入Input组件; 输入值为100; 检验发现100大于10,重新setState为10,打印发现值已经改为10,并传递给Input组件 weapp中生效,rn中,值是10,但是