Description
Description
i am not able to get values from textFormField
with the help of doc i am getting :
{
"actionType": "getFormValue",
"id": "username"
}
here is my json :
Map<String, dynamic> form(Map<String, dynamic> onClick) => {
"type": "form",
"autovalidateMode": "always",
"child": {
"type": "column",
"children": [
{
"type": "textFormField",
"id": "Title",
"decoration": {
"labelText": "Title"
}
},
gapH24,
{
"type": "textFormField",
"id": "Note",
"decoration": {
"labelText": "Note"
}
},
gapH24,
{
"type": "filledButton",
"child": {
"type": "text",
"data": "Create TODO"
},
"onPressed": {
"actionType": "getFormValue",
"id": "Title"
}
}
]
}
};
Requirements
now i want to access the value of Title(id) and Note(id) both
please provide me the proper solution with code if required ActionParser
- Requirements go here