The from form is used to write the mobile terminal page using the vant framework, but the error is reported in the from verification
Solution:
Each field of the form must have the :Rules
attribute, otherwise the above error will be reported.
That is, add the :Rules
validation attribute to each van field
form item, even if the current form item does not perform any validation
Read More:
- [Solved] Vue Error: TypeError: Cannot read property ‘end‘ of undefined
- Uni-app Error when assigning a value to a component: [system] TypeError: Cannot read property ‘name‘ of undefined
- [Solved] electron Error: Uncaught TypeError: Cannot read property ‘BrowserWindow‘ of undefined
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined
- Echarts Partially introduced error: TypeError: Cannot read property ‘findAxisModel’ of undefined
- [Solved] Install The Latest Version of Jest Error: TypeError: Cannot read property ‘instrument‘ of undefined
- [Solved] Vue element UI form verification error: cannot read property ‘validate’ of undefined
- Cannot read property ‘isFile‘ of undefined [How to Solve]
- [Solved] Cannot read property ‘setCheckedKeys‘ of undefined“
- [Solved] Echarts Error: Cannot read property ‘init‘ of undefined
- Vue cannot read property ‘xxx’ of undefined solutions
- [Solved] Syntax Error: TypeError: Cannot set property ‘parent‘ of undefined
- [Solved] HBuilder Error: Cannot read property ‘forceUpdate‘ of undefined
- [Solved] Uni.createintersectionobserver Error: Uncaught TypeError: Cannot read property ‘bottom’ of null
- [Solved] Error in v-on handler “TypeError Cannot read properties of undefined (reading ‘resetFields‘)“
- [Solved] Error in callback for watcher “value“: “TypeError: Cannot read property ‘level‘ of null“
- JS bug Log Uncaught TypeError: Cannot read property ‘previoustSibling‘ of null
- Vue form validate error: Error in v-on handler “TypeError Cannot read properties of undefined (reading ‘indexOf‘)
- [Vue warn]: Error in render: “TypeError: Cannot read properties of undefined