8000 docs: how to read data from textFormField · Issue #311 · StacDev/stac · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
docs: how to read data from textFormField #311
Open
@AbhishekLab

Description

@AbhishekLab

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0