Implementation
This PR implements the AddSwimMeet component, which is triggered when clicking the "+ Swim Meet" button on the SwimMeetDisplay page.
The AddSwimMeet component contains a form with all the field required to create a new swim meet.
New Components:
AddSwimMeet
SwimMeetForm
AlertBox
MyDatePicker
MySelect
MyTimePicker
App
Added the protected route with path="/add-swim-meet" to displaying AddSwimMeet.
SmmApp
Added getSites and createSwimMeet methods.
Previous form components
Updated existing form components to use rules instead of register for validation.
Screenshots
Alert box when there is an error reading sites:
This PR addresses issue #83
Implementation This PR implements the
AddSwimMeet
component, which is triggered when clicking the "+ Swim Meet" button on theSwimMeetDisplay
page. TheAddSwimMeet
component contains a form with all the field required to create a new swim meet.New Components: AddSwimMeet SwimMeetForm AlertBox MyDatePicker MySelect MyTimePicker
App Added the protected route with path="/add-swim-meet" to displaying
AddSwimMeet
.SmmApp Added
getSites
andcreateSwimMeet
methods.Previous form components Updated existing form components to use rules instead of register for validation.
Screenshots Alert box when there is an error reading sites:
Form displayed to create a new swim meet:
Alert box when creation is successful:
Alert box when there is an error during creation: