Constructor
new ModalForm(props)
Parameters:
| Name | Type | Description |
|---|---|---|
props |
object | props from the BusinessPage component |
Members
componentWillReceiveProps
update the state when props change
handleAddTimeline
insert one more timeline event on this.state at the end of the timeline list
handleDateUpdate
update the state when timeline date change
handleDeleteTimeline
delet one timeline event on this.state based on index
handleInfoUpdate
update the state when description change
handleSubmit
handel submit event after click submit, if success, it will pop up "successfully update" otherwise, it will shows "update fail"
handleTitleUpdate
update the state when event title change
handleUpdate
type :String
a string that represents address ID from the dynamoDB
Type:
- String
type :String
a string that represents the second part of the city of address
Type:
- String
type :String
a string that represents the second part of the postal code of address
Type:
- String
type :String
a string that represents the second part of the state of address
Type:
- String
type :String
a string that represents how many timelines events
Type:
- String
type :String
a string that indicates if the timeline change, it has false as default value and it will change to true if any timeline event change triggers
Type:
- String
type :String
a string that represents the first part of the street address
Type:
- String
type :String
a string that represents the second part of the street address
Type:
- String
type :String
a string that indicates if the address change, it has false as default value and it will change to true if any address event change triggers
Type:
- String
updateTimeline
update timeline on dynamodb,add delete or update