Edit object - actimeo/simmage-ui GitHub Wiki

  • add an admin/object component
  • create a route 'object/objects/:id' to this component or object edition
  • create a route 'object/objects/new' to create a new object
  • create a reactive form to edit the object information (object fields) with validation
  • place a delete button with confirmation to delete an object
  • place guards to protect from unsaved changes
  • use a Resolve Guard to load Dbobject data

on objectsComponent :

  • add links to objects/:id on each listed object
  • add a 'New' button to add an object navigating to objects/new
  • place a query param selid=id on the return url
  • on objects-list, highlight object with selid
  • use common/err-msg component to display API errors