Skip to content

Conversation

@singh-mahendra
Copy link
Contributor

Description

Added condition for default value

fixes #631

Mahendra Singh and others added 5 commits March 2, 2020 19:02
author Mahendra Singh <singh.mahendra3006@gmail.com> 1583155922 +530
committer Mahendra Singh <singh.mahendra3006@gmail.com> 1583155922 +0530

feat#773: Added visiblePageTotal prop to Pagination component.
@netlify
Copy link

netlify bot commented Mar 9, 2020

Deploy preview for fundamental-react ready!

Built with commit b1d036f

https://deploy-preview-918--fundamental-react.netlify.com

value: '',
searchList: this.props.searchList,
filteredResult: this.props.searchList
value: props.inputProps && props.inputProps.value ? props.inputProps.value : '',
Copy link
Contributor

Choose a reason for hiding this comment

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

We can simplify this to props.inputProps?.value ? props.inputProps.value : '' - same with line 20 :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.Thanks.

Copy link
Contributor

@jbadan jbadan left a comment

Choose a reason for hiding this comment

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

🚢

@jbadan jbadan merged commit 0599b3c into SAP:master Mar 13, 2020
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.

SearchInput component not support {value: 'params'} in the inputProps users passes

2 participants