Skip to content

Commit

Permalink
feat(frontend): increased max len text input
Browse files Browse the repository at this point in the history
inreased the max length of the text input in the human eval
  • Loading branch information
mmabrouk committed Jul 28, 2024
1 parent d497550 commit d95dbab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ const ABTestingEvaluationTable: React.FC<EvaluationTableProps> = ({
<>
<Input.TextArea
defaultValue={correctAnswer}
autoSize={{minRows: 3, maxRows: 5}}
autoSize={{minRows: 3, maxRows: 10}}
onChange={(e) =>
depouncedUpdateEvaluationScenario(
{
Expand Down Expand Up @@ -456,7 +456,7 @@ const ABTestingEvaluationTable: React.FC<EvaluationTableProps> = ({
<>
<Input.TextArea
defaultValue={record?.note || ""}
autoSize={{minRows: 3, maxRows: 5}}
autoSize={{minRows: 3, maxRows: 10}}
onChange={(e) =>
depouncedUpdateEvaluationScenario({note: e.target.value}, record.id)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ const SingleModelEvaluationTable: React.FC<EvaluationTableProps> = ({
<>
<Input.TextArea
defaultValue={correctAnswer}
autoSize={{minRows: 3, maxRows: 5}}
autoSize={{minRows: 3, maxRows: 10}}
onChange={(e) =>
depouncedUpdateEvaluationScenario(
{
Expand Down Expand Up @@ -506,7 +506,7 @@ const SingleModelEvaluationTable: React.FC<EvaluationTableProps> = ({
<>
<Input.TextArea
defaultValue={record?.note || ""}
autoSize={{minRows: 3, maxRows: 5}}
autoSize={{minRows: 3, maxRows: 10}}
onChange={(e) =>
depouncedUpdateEvaluationScenario({note: e.target.value}, record.id)
}
Expand Down

0 comments on commit d95dbab

Please sign in to comment.