Skip to content

Commit

Permalink
fix: update dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyzif committed Sep 24, 2024
1 parent 90864de commit 660663b
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/components/data-entry/QueryItem/Cascader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,17 @@ const Cascader = (props: IQueryItemCascaderProps) => {
return (
<>
<BaseCascader {...baseProps}>
<Input
disabled={props.disabled}
readOnly
placeholder={props.placeholder}
status={props.errorMessage ? 'error' : undefined}
className={inputClasses}
value={displayValue}
prefix={getIcon()}
/>
<Flex>
<Input
disabled={props.disabled}
readOnly
placeholder={props.placeholder}
status={props.errorMessage ? 'error' : undefined}
className={inputClasses}
value={displayValue}
prefix={getIcon()}
/>
</Flex>
</BaseCascader>
{props.errorMessage && <Typography.Text type="danger">{props.errorMessage}</Typography.Text>}
</>
Expand Down

0 comments on commit 660663b

Please sign in to comment.