Skip to content

Commit

Permalink
Page edit: Add editing of tags (openhab#2078)
Browse files Browse the repository at this point in the history
Closes openhab#2077.

This PR adds ability to add / change / remove Tags to Pages via MainUI.
It is using existing tag-input.vue component similar as UI for Items and
Rules.

---------

Also-by: Florian Hotze <[email protected]>
Signed-off-by: David Kesl <[email protected]>
  • Loading branch information
Davek145 authored and digitaldan committed Sep 24, 2023
1 parent f38cd84 commit 01a2c9c
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,22 @@
</f7-list>
</f7-accordion-content>
</f7-list-item>
<f7-list-item accordion-item title="Tags" :disabled="page.uid === 'overview'">
<f7-accordion-content>
<tag-input :item="page" />
</f7-accordion-content>
</f7-list-item>
</f7-list>
</f7-col>
</template>

<script>
import TagInput from '@/components/tags/tag-input.vue'
export default {
components: {
TagInput
},
props: ['page', 'createMode'],
data () {
return {}
Expand Down

0 comments on commit 01a2c9c

Please sign in to comment.