CADS-Dry-INC-Sons / inventory-app

A full-stack application to track your inventory
0 stars 0 forks source link

Add Messages and Renamed Form to Add Form #38

Closed shamiguel closed 11 months ago

shamiguel commented 11 months ago

This PR resolves #22 and fixes a bug that messed with the display of form.

First of, this PR changes the name of our Form component to AddForm in order to avoid confusing the codebase since we are importing the Bootstrap Form Component.

Secondly, this PR adds the message state that is set on Create/Update/Delete actions and should be reset to an empty string when the message is closed or when any navigational actions take place (i.e. clicking "Back", clicking on an Item)