Skip to content

Commit

Permalink
enhance(frontend): added placeholder text on select component
Browse files Browse the repository at this point in the history
  • Loading branch information
ashrafchowdury committed Dec 4, 2024
1 parent bb4d18c commit efb5adf
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@ const TestsetDrawer = ({onClose, data, ...props}: Props) => {
>
<Select
style={{width: elementWidth}}
value={data.data}
placeholder="Select a mapped data key"
value={data.data || undefined}
onChange={(value) =>
onMappingOptionChange({
pathName: "data",
Expand All @@ -490,7 +491,8 @@ const TestsetDrawer = ({onClose, data, ...props}: Props) => {
{!isNewTestset && (
<Select
style={{width: "100%"}}
value={data.column}
placeholder="Select a column"
value={data.column || undefined}
onChange={(value) =>
onMappingOptionChange({
pathName: "column",
Expand Down

0 comments on commit efb5adf

Please sign in to comment.