Skip to content

Commit

Permalink
fix: force display none for HstRadio (fix #537)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorin Gitlan committed Oct 11, 2023
1 parent 05bcd28 commit 6b6d3b1
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions packages/histoire-controls/src/components/radio/HstRadio.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<script lang="ts">
export default {
name: 'HstRadio',
}
</script>

<script lang="ts" setup>
import { computed, ComputedRef, ref } from 'vue'
import { computed, ComputedRef, defineOptions, ref } from 'vue'
import HstWrapper from '../HstWrapper.vue'
import { HstControlOption } from '../../types'
defineOptions({ name: 'HstRadio' })
const props = defineProps<{
title?: string
modelValue?: string
Expand Down Expand Up @@ -60,7 +56,7 @@ const animationEnabled = ref(false)
:name="`${value}-radio_${title}`"
:value="value"
:checked="value === modelValue"
class="htw-hidden"
class="!htw-hidden"
@change="selectOption(value)"
>
<label
Expand Down

0 comments on commit 6b6d3b1

Please sign in to comment.