Skip to content

made search button to act as two stage cancel. first to clear field a…#69

Open
hadarth wants to merge 2 commits into
masterfrom
change-search-button-field-to-work-with-two-stage-cancel
Open

made search button to act as two stage cancel. first to clear field a…#69
hadarth wants to merge 2 commits into
masterfrom
change-search-button-field-to-work-with-two-stage-cancel

Conversation

@hadarth
Copy link
Copy Markdown

@hadarth hadarth commented Jan 30, 2017

No description provided.

this.collapseField();
if (this.props.onCancel) this.props.onCancel();
if (this.props.onClosed) this.props.onClosed();
if (this.refs.input.props.value !== '') {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (this.refs.input.props.value) {
   ....
} else {
   ....
}

@eyaleizenberg
Copy link
Copy Markdown

@HadarS what about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants