-
Notifications
You must be signed in to change notification settings - Fork 531
Closed
Description
I have the following schema for checkbox:
{
type: "checkbox",
label: "Terms and Conditions",
model: "terms",
default: false
}
When I save the form, it posts the string "false" to the server.
So when the data is read from the server and the response is assigned to the model (ex. when editing an existing form), the component interprets "false" as truthy (strings are truthy) and makes the checkbox ticked.
cukikt0302