Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/systemtags/src/components/SystemTagForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,12 @@ function getTagLevel(userVisible: boolean, userAssignable: boolean): TagLevel {
<div class="system-tag-form__group">
<label for="system-tags-input">{{ t('systemtags', 'Search for a tag to edit') }}</label>
<NcSelectTags
:modelValue="selectedTag"
:modelValue="selectedTag?.id ?? null"
inputId="system-tags-input"
:placeholder="t('systemtags', 'Collaborative tags …')"
:fetchTags="false"
:options="tags"
:limit="null"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That will cause type issues - either now or in the future at least.
Because limit is typed as number not number|null.
So either pass a real limit as number or do not pass limit meaning taking the default.

Otherwise if you need "all tags" then this needs a fix in the library allowing to pass null or 0

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:multiple="false"
labelOutside
@update:modelValue="onSelectTag">
Expand Down
Loading