From 587cebc5a994edd46af1d3c3211fe1c16c3770f8 Mon Sep 17 00:00:00 2001 From: Chetna Joshi Date: Fri, 12 Jun 2020 15:12:07 +0530 Subject: [PATCH 1/2] done some new changes and fix some issues --- .../SignupEventHistoryMiddlePanel.js | 2 +- .../SignupEventInvitationRightPanel.js | 6 +- .../EventInvitation/InvitationScreen.js | 4 +- .../EventSignupHistory/EventSignupHistory.js | 33 ++-- .../EventSignupInvitation.js | 6 +- .../EventSignupInvitation.styles.js | 153 ++++++++++-------- src/layouts/EventSignupNew/EventSignupNew.js | 15 +- 7 files changed, 127 insertions(+), 92 deletions(-) diff --git a/src/componets/SignupEventComponents/SignupEventHistory/SignupEventHistoryMiddlePanel/SignupEventHistoryMiddlePanel.js b/src/componets/SignupEventComponents/SignupEventHistory/SignupEventHistoryMiddlePanel/SignupEventHistoryMiddlePanel.js index e71ea88a3..92c443ada 100644 --- a/src/componets/SignupEventComponents/SignupEventHistory/SignupEventHistoryMiddlePanel/SignupEventHistoryMiddlePanel.js +++ b/src/componets/SignupEventComponents/SignupEventHistory/SignupEventHistoryMiddlePanel/SignupEventHistoryMiddlePanel.js @@ -174,7 +174,7 @@ class SignupEventHistoryMiddlePanel extends React.Component {
{this.getEventStatusText(currentEventProfile.eventProfile.savedPhase)}
-

{currentEventProfile.eventProfile.description}

+

{currentEventProfile.eventProfile.description}

{currentEventProfile.eventProfile.location.address}

diff --git a/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationRightPanel/SignupEventInvitationRightPanel.js b/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationRightPanel/SignupEventInvitationRightPanel.js index 01c265ca1..11857f48e 100644 --- a/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationRightPanel/SignupEventInvitationRightPanel.js +++ b/src/componets/SignupEventComponents/SignupEventInvitation/SignupEventInvitationRightPanel/SignupEventInvitationRightPanel.js @@ -61,19 +61,19 @@ class SignupEventInvitationRightPanel extends React.Component {
@@ -2166,6 +2235,7 @@ class EventSignupNew extends Component { onChangeModes={this.handleChangeStartTimeMode} validateHours={this.validateStartHours} validateMinutes={this.validateStartMinutes} + validateMode={this.validateStartTimeMode} isDisabled={isDisabledTimes} /> @@ -2201,6 +2271,7 @@ class EventSignupNew extends Component { onChangeModes={this.handleChangeEndTimeMode} validateHours={this.validateEndHours} validateMinutes={this.validateEndMinutes} + validateMode={this.validateEndTimeMode} isDisabled={isDisabledTimes} /> @@ -2678,7 +2749,7 @@ class EventSignupNew extends Component { className={`${classes.timePikerBox}`} value={this.state.scheduleTimeMode} onChange={this.handleChangeScheduleTimeMode} - //onInputChange={validateTimeFormats} + onInputChange={this.validateScheduleTimeMode} //disabled={isDisabled} options={[ { value: "AM", label: "AM" }, diff --git a/src/layouts/EventSignupNew/subcomponents/TimePicker.js b/src/layouts/EventSignupNew/subcomponents/TimePicker.js index 0c17156e8..992a97274 100644 --- a/src/layouts/EventSignupNew/subcomponents/TimePicker.js +++ b/src/layouts/EventSignupNew/subcomponents/TimePicker.js @@ -51,6 +51,7 @@ class TimePicker extends Component { className={`${this.props.classes.timePikerBox} ${this.props.isDisabled ? 'disableField' : ''}`} value={this.props.valueModes} onChange={this.props.onChangeModes} + onInputChange={this.props.validateMode} options={[ { value: 'AM', label: 'AM' }, { value: 'PM', label: 'PM' } -- GitLab