Skip to content

Commit

Permalink
Improvement: Add required hint to required service data fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgiesche committed Jan 28, 2024
1 parent 76f7ba9 commit 99bac4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ServiceCallConfiguration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@
<details v-if="dataProperties && dataProperties.length > 0">
<summary>Available options</summary>
<div v-for="item in dataProperties" v-bind:key="item.name" class="form-text">
<span class="text-info font-monospace">{{ item.name }}&nbsp;</span>{{ item.info.description }}
<span class="text-info font-monospace">{{ item.name }}&nbsp;</span> <span class="text-warning font-monospace" v-if="item.info.required">(required) </span>{{ item.info.description }}
<template v-if="item.info.example">
<br>
<span class="ml-2">Example: <i>{{ item.info.example }}</i></span>
<span class="ml-2">Example: <i>{{ item.info.example }}</i></span>
</template>
</div>
</details>
Expand Down

0 comments on commit 99bac4f

Please sign in to comment.