Avi
Display Cards under Select
the context is there is an Account and now we're adding Employees to the account. When selecting an employee to be added, we want to display the cards. So when viewing in edit mode, we could have the ViewField query and iterate. But when adding in real time, we just want to use local state because the employees aren't really added to the account until the user clicks "save" on this step of the wizard.
20 replies
Display Cards under Select
static card with dummy data or what? the idea is that when a user selects an Employee, the selected employee(s) appear in cards. I thought I would be able to set some sort of state so every time an employee is selected it gets pushed into an array and as long as they array is populated, we can map over it and display a card per employee.
20 replies