We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述 form组件内的picker组件设置了name属性,点击设置了form-type属性的button,返回值里没有picker的name属性的变量值 代码 精简过
<form @submit="formSubmit" @reset="formReset"> <picker name="picker" @change="bindPickerChange" :value="index" :range="array" range-key="name"> <view class="uni-input">{{array[index].name}}</view> </picker> <view class="uni-btn-v"> <button form-type="submit">Submit</button> <button type="default" form-type="reset">Reset</button> </view> </form>
formSubmit: function(e) { console.log('form发生了submit事件,携带数据为:' + JSON.stringify(e.detail.value)) }
预期结果 点击submit按钮后,返回值里要有picker的name属性变量picker值的,实际没有
实际结果
系统信息:
补充信息 在H5平台测试过了,没有问题
The text was updated successfully, but these errors were encountered:
我也遇到,可以看下我的(1534),原因就是因为V3编译,可以看下2.6.9的更新日志,app编译默认V3编译
Sorry, something went wrong.
此问题会在下个alpha版本修复
HBuilderX 2.6.12 alpha 已修复
No branches or pull requests
问题描述
form组件内的picker组件设置了name属性,点击设置了form-type属性的button,返回值里没有picker的name属性的变量值
代码
精简过
预期结果
点击submit按钮后,返回值里要有picker的name属性变量picker值的,实际没有
实际结果
![image](https://user-images.githubusercontent.com/32238889/78895651-ce702200-7aa1-11ea-81e6-6e8fee368e3c.png)
![image](https://user-images.githubusercontent.com/32238889/78895964-476f7980-7aa2-11ea-99b2-2d9773c9654d.png)
系统信息:
补充信息
在H5平台测试过了,没有问题
The text was updated successfully, but these errors were encountered: