前端之家收集整理的这篇文章主要介绍了
微信小程序 form组件详解及简单实例,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
<div class="content-head">
@H_
502_2@
<div class="content-head">

@H_
502_2@
将表单内的用户输入的switch
input
checkBox
slider
radio
picker
提交
当点击
表单中 formType 为 submit 的
组件时,会将表单组件中的 value 值进行提交,需要在表单组件中加上 name 来作为 key。
<view class="section">
<view class="section__title">input
dio
dio-group name="radio-group">
Box
Box-group name="checkBox">
@H_502_2@
@H_
502_2@
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!