Skip to content

Fix category selection not applying in favorite edit form - #1635

Open
sim6 wants to merge 2 commits into
nextcloud:masterfrom
sim6:fix_category_selection_not_applying_in_favorite_edit_form
Open

Fix category selection not applying in favorite edit form#1635
sim6 wants to merge 2 commits into
nextcloud:masterfrom
sim6:fix_category_selection_not_applying_in_favorite_edit_form

Conversation

@sim6

@sim6 sim6 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Also removes text "label" on top of favorite edit form category dropdown.

sim6 added 2 commits July 24, 2026 00:38
Remove the inputLabel prop from NcSelect in FavoriteEditionForm.vue that
was rendering the string 'label' as visible text above the categories
dropdown when editing a favourite.

Signed-off-by: Simó Albert i Beltran <sim6@probeta.net>
The category dropdown used the @input event to detect selections,
but NcSelect (from @nextcloud/vue v9) only emits update:modelValue.
The handler never fired, leaving the internal category state stale
while the visual v-model appeared correct.

Replace @input with @update:modelValue so the onCategorySelected
handler runs when a category is picked from the dropdown.

Signed-off-by: Simó Albert i Beltran <sim6@probeta.net>
@sim6

sim6 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

@CarlSchwan Could you review it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants