Skip to content

Commit 3b68624

Browse files
The inputs fields ‘Confidence between’ on the databrowser should be type number
1 parent 1b5f217 commit 3b68624

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/projects/projectId/data-browser/SearchGroups.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,12 +678,12 @@ export default function SearchGroups() {
678678
<div className="flex-grow min-w-0 mt-1">
679679
<div className="flex flex-row items-center whitespace-nowrap">
680680
<span className="text-sm mr-0.5 font-dmMono">CONFIDENCE BETWEEN</span>
681-
<input disabled={fullSearchStore[group.key].groupElements['weakSupervisionLabels'].length == 0}
681+
<input disabled={fullSearchStore[group.key].groupElements['weakSupervisionLabels'].length == 0} type="number"
682682
onChange={(e) => changeConfidence(e, 'lower', group.key, 'weakSupervisionConfidence')}
683683
value={fullSearchStore[group.key].groupElements['weakSupervisionConfidence'] ? fullSearchStore[group.key].groupElements['weakSupervisionConfidence']['lower'] : 0}
684684
className="h-8 w-11 text-sm border-gray-300 rounded-md placeholder-italic border text-gray-900 pl-2 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-gray-100 disabled:opacity-50 disabled:cursor-not-allowed" />
685685
<span className="text-sm mx-0.5 font-dmMono">% AND</span>
686-
<input disabled={fullSearchStore[group.key].groupElements['weakSupervisionLabels'].length == 0}
686+
<input disabled={fullSearchStore[group.key].groupElements['weakSupervisionLabels'].length == 0} type="number"
687687
onChange={(e) => changeConfidence(e, 'upper', group.key, 'weakSupervisionConfidence')}
688688
value={fullSearchStore[group.key].groupElements['weakSupervisionConfidence'] ? fullSearchStore[group.key].groupElements['weakSupervisionConfidence']['upper'] : 100}
689689
className="h-8 w-11 text-sm border-gray-300 rounded-md placeholder-italic border text-gray-900 pl-2 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-gray-100 disabled:opacity-50 disabled:cursor-not-allowed" />

0 commit comments

Comments
 (0)