Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dropdown to experiment name, sample name, and cells #28

Open
byee4 opened this issue Oct 11, 2022 · 2 comments
Open

add dropdown to experiment name, sample name, and cells #28

byee4 opened this issue Oct 11, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@byee4
Copy link
Member

byee4 commented Oct 11, 2022

Let's try to add a dropdown menu of all existing experiment names, sample names, and cells for users to select from. The user should also be allowed to submit his/her own text which should then be added to the dropdown upon refresh.

For example, 'PRBF' will be entered as the experiment name when adding a new sample to the database. Once added, the input text should have a dropdown with two options: 'PRBF' and 'insert new experiment name'. We may also consider a 'default' field here too

image

@byee4 byee4 added the enhancement New feature or request label Oct 11, 2022
@katherinemwong
Copy link
Collaborator

ideas:

  1. use modelForm and render as a single field since there isn't a form built with the sample, experiment, cell fields of a fastq https://stackoverflow.com/questions/16055808/django-form-dropdown-list-of-stored-models
  2. Brian suggested filter function

@katherinemwong
Copy link
Collaborator

first iteration: #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants