tweak: initial input value
This commit is contained in:
parent
7ae6d35105
commit
5d07fbd383
|
@ -74,7 +74,7 @@ export default function ComparisonView({ listOfElementsForView }) {
|
|||
initialPosList[initialPosList.length - 2],
|
||||
initialPosList[initialPosList.length - 1],
|
||||
];
|
||||
let initialInputValue = 1;
|
||||
let initialInputValue = "x to y";
|
||||
let initialReasoning = "";
|
||||
let initialBinaryComparisons = [];
|
||||
let initialQuantitativeComparisons = [];
|
||||
|
@ -466,7 +466,11 @@ export default function ComparisonView({ listOfElementsForView }) {
|
|||
{"Notes and reasoning:"}
|
||||
<textarea
|
||||
className="mt-2 px-3 py-4 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-base border-0 shadow outline-none focus:outline-none focus:ring w-full"
|
||||
placeholder={numSteps == 0 ? "Please write your name here if you want QURI to be able to identify your answers later" : ""}
|
||||
placeholder={
|
||||
numSteps == 0
|
||||
? "Please write your name here if you want QURI to be able to identify your answers later"
|
||||
: ""
|
||||
}
|
||||
value={reasoning}
|
||||
onChange={(event) => setReasoning(event.target.value)}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user