Skip to content

Commit

Permalink
Show descriptions for selected parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-koenig committed Dec 12, 2024
1 parent 6383e0e commit c762f97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/isa/study/ProtocolParametersSelect.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,15 @@ onMount(() => {
<span>You have selected the following constant parameters:<br /></span>
<table id="parameters-selected">
<tr>
<th style="width: 350px;">Parameter</th>
<th style="width: 200px;">Parameter</th>
<th style="width: 300px; text-align: left;">Description</th>
<th>Value</th>
<th></th>
</tr>
{#each parameters as parameter}
<tr>
<td>{parameter.parameterName.annotationValue}</td>
<td>{parametersAvailable.find(param => param.label == parameter.parameterName.annotationValue).explanation}</td>
<td><input type="text" style="width: 250px; text-align: center;" bind:value={parameterValues[parameter.parameterName.annotationValue]} on:change={() => update()} /></td>
<td>
{#if parametersPredefined.includes(parameter.parameterName.annotationValue)}
Expand Down

0 comments on commit c762f97

Please sign in to comment.