diff --git a/bundles/org.openhab.ui/doc/components/oh-repeater.md b/bundles/org.openhab.ui/doc/components/oh-repeater.md index 96874a160..7a406f122 100644 --- a/bundles/org.openhab.ui/doc/components/oh-repeater.md +++ b/bundles/org.openhab.ui/doc/components/oh-repeater.md @@ -44,6 +44,7 @@ Iterate over an array and repeat the children components in the default slot + @@ -76,6 +77,11 @@ Iterate over an array and repeat the children components in the default slot Iterate over items with the given tags (comma-separated, for "itemsWithTags" source type) + + + Iterate over rules with the given tags (comma-separated, for "rulesWithTags" source type) + + Iterate over the state options or command options of this item (for "itemStateOptions" or "itemCommandOptions" source type) diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/repeater.js b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/repeater.js index 6f4d1d82e..8d650f528 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/repeater.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/widgets/system/repeater.js @@ -10,7 +10,8 @@ export default () => [ { value: 'itemsInGroup', label: 'Member of the group defined in the "groupItem" parameter' }, { value: 'itemsWithTags', label: 'Items with tags in the "itemTags" parameter' }, { value: 'itemStateOptions', label: 'State options of the item specified in "itemOptions"' }, - { value: 'itemCommandOptions', label: 'Command options of the item specified in "itemOptions"' } + { value: 'itemCommandOptions', label: 'Command options of the item specified in "itemOptions"' }, + { value: 'rulesWithTags', label: 'Rules with tags in the "ruleTags" parameter' } ]), pt('in', 'Source array', 'Source array (for "array" source type)'), pn('rangeStart', 'Range Start', 'Start of range (for "range" source type)'), @@ -18,6 +19,7 @@ export default () => [ pn('rangeStep', 'Range Step', 'Step of range (for "range" source type)'), pi('groupItem', 'Group Item', 'Group item to whose members will be iterated (for "itemsInGroup" source type)'), pt('itemTags', 'Item Tags', 'Iterate over items with the given tags (comma-separated, for "itemsWithTags" source type)'), + pt('ruleTags', 'Rule Tags', 'Iterate over rules with the given tags (comma-separated, for "rulesWithTags" source type)'), pt('itemOptions', 'Item with Options', 'Iterate over the state options or command options of this item (for "itemStateOptions" or "itemCommandOptions" source type)'), pt('fetchMetadata', 'Fetch Item Metadata Namespaces', 'Fetch the metadata from these namespaces (for "itemsInGroup" and "itemsWithTags" source types)'), pt('filter', 'Filter expression', 'Specify an expression WITHOUT THE = PREFIX to filter the resulting array'), diff --git a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-repeater.vue b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-repeater.vue index 092bd249a..261efa334 100644 --- a/bundles/org.openhab.ui/web/src/components/widgets/system/oh-repeater.vue +++ b/bundles/org.openhab.ui/web/src/components/widgets/system/oh-repeater.vue @@ -13,7 +13,7 @@