b7d9e05641
* typo - screens not being sent to page save * removed children arg from hydrateChildren (n/a) * initialiseChildren does not rerender unless forced * removed derivatives of initialiseChildren * renamed initialiseChildren > attachChildren * standard-components - refactoring div now container H1, h2... etc now Heading with type Select now takes option as _children * loads of bug fixing * safe props creation anytime props are loaded, we make sure they conform to the components props definition
36 lines
780 B
JSON
36 lines
780 B
JSON
{
|
|
"inherits": "@budibase/standard-components/container",
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|