Skip to content

Commit

Permalink
fix: minor adjustments for search form
Browse files Browse the repository at this point in the history
  • Loading branch information
tada5hi committed Nov 20, 2023
1 parent a4e0a77 commit d466c3c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
33 changes: 16 additions & 17 deletions packages/rare-diseases/src/runtime/components/core/SearchForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default defineComponent({
v-model="categories"
:multiple="true"
:options="options"
placeholder="..."
placeholder="Orphanet Ontology"
>
<template #selected="{ items, toggle }">
<Tags
Expand All @@ -177,7 +177,7 @@ export default defineComponent({
<FormSelectSearch
:options="[]"
:disabled="true"
placeholder="..."
placeholder="Orphanet Ontology"
/>
</template>
</ValueSetEntity>
Expand All @@ -202,7 +202,7 @@ export default defineComponent({
v-model="hpoTerms"
:multiple="true"
:options="options"
placeholder="..."
placeholder="Human Phenotype Ontology"
>
<template #selected="{ items, toggle }">
<Tags
Expand All @@ -219,7 +219,7 @@ export default defineComponent({
<FormSelectSearch
:disabled="true"
:options="[]"
placeholder="..."
placeholder="Human Phenotype Ontology"
/>
</template>
</ValueSetEntity>
Expand All @@ -245,7 +245,7 @@ export default defineComponent({
<FormSelectSearch
v-model="form.gene"
:options="options"
placeholder="..."
placeholder="HGNC"
/>
</template>
</CollectionTransform>
Expand All @@ -254,7 +254,7 @@ export default defineComponent({
<FormSelectSearch
:disabled="true"
:options="[]"
placeholder="..."
placeholder="HGNC"
/>
</template>
</CodeSystemEntity>
Expand All @@ -265,29 +265,30 @@ export default defineComponent({
<label>kodierende DNA-Änderung</label>
<VCFormInput
v-model="form.cDNAChange"
placeholder="..."
placeholder="HGVS"
/>
</VCFormGroup>
<VCFormGroup>
<label>genomische DNA-Änderung</label>
<VCFormInput
v-model="form.gDNAChange"
placeholder="..."
placeholder="HGVS"
/>
</VCFormGroup>
<VCFormGroup>
<label>Proteinänderung</label>
<VCFormInput
v-model="form.proteinChange"
placeholder="..."
placeholder="HGVS"
/>
</VCFormGroup>
</div>
</div>
<hr>
<div class="row">
<div class="col">
<div class="form-group">

<div>
<h6>Suchmodus</h6>
<div class="row">
<div class="col">
<button
type="button"
class="btn btn-sm btn-block btn-dark"
Expand All @@ -296,15 +297,13 @@ export default defineComponent({
Lokal
</button>
</div>
</div>
<div class="col">
<div class="form-group">
<div class="col">
<button
type="button"
class="btn btn-sm btn-block btn-dark"
@click.prevent="submit('federated')"
>
Förderiert
Föderiert
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,8 @@ export default defineComponent({
</ul>
</slot>
</template>
<style>
.btn-close {
color: #eee !important;
}
</style>

0 comments on commit d466c3c

Please sign in to comment.