zhan4429
(Yucheng Zhang)
August 21, 2023, 6:50pm
1
I want to create an OOD app for a bioinformatics workflow. The workflow has many parameters, and these parameters are used in different purposes. I am wondering whether there is a way to create different headings to separate parameters into categories on the OOD form.yml.erb. And I would like these headings with bigger font and in bold.
For example, I like the form to be like this:
Input options
.
.
.
Alignment options
.
.
.
I don’t quite follow what you’re looking for.
Are you looking for what’s described in this?
opened 05:13PM - 17 Apr 23 UTC
closed 11:38AM - 17 Oct 23 UTC
Perhaps already possible but I see no obvious way to specify this in the yml fil… es, but i would like to have something that could generate an optgroup, or alternatively, letting my disable a field.
```html
<select>
<optgroup>
<option>/apps/ood/jupyter/PyTorch-1.10.sh</option>
<option>/apps/ood/jupyter/PyTorch-1.11.sh</option>
<option>/apps/ood/jupyter/PyTorch-1.12.sh</option>
</optgroup>
<optgroup label="User specified runtime, create ~/ood/jupyter/*.sh ">
<option>~/ood/jupyter/my_custom_env.sh</option>
<option>~/ood/jupyter/my_second_env.sh</option>
</optgroup>
</select>
```
Right now, we add hack this in via an extra option, which generates a drop down kind of like
```html
<select>
<option>/apps/ood/jupyter/PyTorch-1.10.sh</option>
<option>/apps/ood/jupyter/PyTorch-1.11.sh</option>
<option>/apps/ood/jupyter/PyTorch-1.12.sh</option>
<option>User specified runtime, create ~/ood/jupyter/*.sh</option>
<option>~/ood/jupyter/my_custom_env.sh</option>
<option>~/ood/jupyter/my_second_env.sh</option>
</select>
```
which is OK, but of course unfortunately lets people select this non existent separator "User specified runtime ..." which just kind of breaks things for us.
Just having the option to specify
```html
<select>
<option>/apps/ood/jupyter/PyTorch-1.10.sh</option>
<option>/apps/ood/jupyter/PyTorch-1.11.sh</option>
<option>/apps/ood/jupyter/PyTorch-1.12.sh</option>
<option disabled>User specified runtime, create ~/ood/jupyter/*.sh</option>
<option>~/ood/jupyter/my_custom_env.sh</option>
<option>~/ood/jupyter/my_second_env.sh</option>
</select>
```
would at least remedy this, though not as nice as having the groups
┆Issue is synchronized with this [Asana task](https://app.asana.com/0/1201735133575781/1204414633733997) by [Unito](https://www.unito.io)
Or it seems like you just need 2 different form select options - 1 for input and 1 for alignment.
system
(system)
Closed
April 21, 2024, 1:22pm
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.