Skip to content

Commit

Permalink
MINOR: add textbox composant (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvilalta authored Aug 10, 2022
1 parent 567be04 commit c2fbe66
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@mouseover="handleCurrentItem(item.name)"
@mouseleave="handleCurrentItem()"
>
{{ item.name }}
<BIMDataTextbox :text="item.name" />
<template v-if="item.children">
<BIMDataIcon name="chevron" size="xxs" />
<ul
Expand All @@ -37,7 +37,7 @@
:key="child.name"
@click="child.action && child.action()"
>
{{ child.name }}
<BIMDataTextbox :text="child.name" />
</li>
</ul>
</template>
Expand All @@ -55,10 +55,11 @@
<script>
import clickaway from "../../BIMDataDirectives/click-away.js";
import BIMDataIcon from "../../BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
import BIMDataTextbox from "../../BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue";
export default {
directives: { clickaway },
components: { BIMDataIcon },
components: { BIMDataIcon, BIMDataTextbox },
props: {
disabled: {
type: Boolean,
Expand Down

0 comments on commit c2fbe66

Please sign in to comment.