You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the events and actions systems are inadequate. As noted before, onAdd never fires for new rows, columns and fields. In addition, the data that it passes is simply the dom markup. It needs better object info like type of field (for new fields) and panel info for updated Attributes and Conditions. Field type can only be extracted from the markup which is ugly and subject to change.
In addition, the actions are not very useful as they don't have lifecycle management. All action notifications are after the fact notifications. For example, we should be able to prevent a delete action by returning false on a "clicked" action. Perhaps a full action lifecycle like beforeClick, Clicked and afterClick.
Perhaps there is current support for this and it's a documentation issue.
The text was updated successfully, but these errors were encountered:
Both the events and actions systems are inadequate. As noted before, onAdd never fires for new rows, columns and fields. In addition, the data that it passes is simply the dom markup. It needs better object info like type of field (for new fields) and panel info for updated Attributes and Conditions. Field type can only be extracted from the markup which is ugly and subject to change.
In addition, the actions are not very useful as they don't have lifecycle management. All action notifications are after the fact notifications. For example, we should be able to prevent a delete action by returning false on a "clicked" action. Perhaps a full action lifecycle like beforeClick, Clicked and afterClick.
Perhaps there is current support for this and it's a documentation issue.
The text was updated successfully, but these errors were encountered: