Wappler Version : 3.4
Operating System : node
Expected behavior
When a server side field is required, the linked field should be returned properly to the client when using node.
Actual behavior
The response is:
{"form":{"email[password]":"This field is required."}}
How to reproduce
Create a node server connect with at least two variables, and mark the 2nd variable as required and link the fields:
Could you send me the json that was generated by Wappler for the action.
Sure.
{
"meta": {
"options": {
"linkedFile": "/views/validate.ejs",
"linkedForm": "register1"
},
"$_POST": [
{
"type": "text",
"fieldName": "email",
"options": {
"rules": {
"core:required": {}
}
},
"name": "email"
},
{
"type": "text",
"fieldName": "password",
"options": {
"rules": {
"core:required": {}
}
},
"name": "password"
}
]
},
"exec": {}
}
@patrick Anything else needed to track this down?
No, I was able to reproduce the problem and working on it.
patrick
Closed
10
This topic was automatically closed after 3 days. New replies are no longer allowed.