Skip to content

Commit

Permalink
Fixed: Hidden tabs visible in mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
r3-gabriel committed Jan 5, 2023
1 parent 7a5ec40 commit ceb575c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions www/comps/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,11 @@ let MyField = {
{{ t.captions.tabTitle[this.moduleLanguage] }}
</div>
<select v-if="isMobile" @change="setTab(parseInt($event.target.value))" :value="tabIndexShow">
<option v-for="(t,i) in field.tabs" :value="i">
{{ t.captions.tabTitle[this.moduleLanguage] }}
</option>
<template v-for="(t,i) in field.tabs">
<option v-if="!tabIndexesHidden.includes(i)" :value="i">
{{ t.captions.tabTitle[this.moduleLanguage] }}
</option>
</template>
</select>
</div>
<div class="fields"
Expand Down

0 comments on commit ceb575c

Please sign in to comment.