WeChat applet form component


form component
form


main attributes:

renderings:

form.wxml add code:



form.js add code:


form.wxss add code:


note:
form form component is to submit the values ​​of all selected attributes in the form,
pay attention to the values ​​of all selected attributes in each form All components must have a name attribute to specify otherwise they will not be submitted
. The type two submit and reset attributes in the button correspond to the two events of the form respectively.

Original link: http://bbs.jointforce.com/topic/23116

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326352171&siteId=291194637