budibase/packages/server/appPackages/testApp2/components/Contact/Contact homepage.json

37 lines
774 B
JSON

{
"inherits": "@budibase/standard-components/div",
"name": "Contact/Contact homepage",
"props": {
"className": "d-flex flex-column h-100",
"children": [
{
"component": {
"_component": "Contact/homepage buttons"
}
},
{
"component": {
"_component": "all_contacts Table"
},
"className": "flex-gow-1 overflow-auto"
}
],
"onLoad": [
{
"##eventHandlerType": "Set State",
"parameters": {
"path": "isEditingContact",
"value": ""
}
},
{
"##eventHandlerType": "List Records",
"parameters": {
"statePath": "/all_contacts",
"indexKey": "/all_contacts"
}
}
]
}
}