TP-24975 | Added Disabled check for search bar
This commit is contained in:
@@ -32,7 +32,11 @@ const SmartSearch: FC<SmartSearchProps> = ({ updateSearchResults }) => {
|
||||
placeholder={placeHolder}
|
||||
containerClassName={cx(styles['input-container'])}
|
||||
/>
|
||||
<Button className={styles['button-wrapper']} onClick={handleButtonClick}>
|
||||
<Button
|
||||
className={styles['button-wrapper']}
|
||||
disabled={!searchValue}
|
||||
onClick={handleButtonClick}
|
||||
>
|
||||
<SearchIcon color="white" />
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user