Skip to content

Conversation

@GretaD
Copy link
Contributor

@GretaD GretaD commented Aug 28, 2023

After the release of nc/vue 8.0.0 NcMultiselect is deprecated and replaced by NcSelect: https://github.com/nextcloud-libraries/nextcloud-vue/releases/tag/v8.0.0

@GretaD GretaD self-assigned this Aug 28, 2023
@GretaD GretaD force-pushed the replace/multiselect-select branch 2 times, most recently from db1c311 to 9bf0dad Compare September 7, 2023 17:26
@GretaD GretaD force-pushed the replace/multiselect-select branch from 947d900 to 4c5ca8e Compare November 27, 2023 20:21
@ChristophWurst ChristophWurst mentioned this pull request Nov 29, 2023
24 tasks
@GretaD GretaD mentioned this pull request Dec 7, 2023
@GretaD GretaD force-pushed the replace/multiselect-select branch from 4c5ca8e to 8723b6c Compare December 7, 2023 12:41
@GretaD GretaD requested a review from ChristophWurst December 7, 2023 12:47
@GretaD GretaD marked this pull request as ready for review December 7, 2023 12:47
@GretaD GretaD requested a review from hamza221 December 7, 2023 12:47
@GretaD
Copy link
Contributor Author

GretaD commented Dec 7, 2023

i tried to test every component. Please test it before approving because its a bit change and i might have missed something.

class="multiselect-search-tags"
:options="tags"
label="displayName"
label="name"
Copy link
Member

Choose a reason for hiding this comment

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

why does it change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thats a copy paste issue. it should be as it was

input-id="select-email-input"
:searchable="false"
:placeholder="t('mail', 'Select account')"
:clear-on-select="false"
Copy link
Contributor

Choose a reason for hiding this comment

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

``

Suggested change
:clear-on-select="false"
:clear-search-on-select="false"

https://vue-select.org/api/props.html#clearsearchonselect

input-id="select-email-input"
:multiple="true"
:placeholder="t('mail', 'Contact or email address …')"
:clear-on-select="true"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
:clear-on-select="true"
:clear-search-on-select="true"

Copy link
Contributor

Choose a reason for hiding this comment

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

Also underneath the events are wrong

@search-change should be @search
and @tag should be @option:created
https://vue-select.org/api/events.html

</NcSelect>
<button
:title="t('mail','Toggle recipients list mode')"
:name="t('mail','Toggle recipients list mode')"
Copy link
Contributor

Choose a reason for hiding this comment

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

should stay title not a vue component

input-id="select-email-input"
:multiple="true"
:placeholder="t('mail', 'Contact or email address …')"
:clear-on-select="true"
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

:taggable="true"
label="label"
track-by="email"
input-id="select-email-input"
Copy link
Contributor

Choose a reason for hiding this comment

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

same for the events

Copy link
Contributor Author

Choose a reason for hiding this comment

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

working on it, thanks a lot Hamza.

</label>
<div class="composer-fields--custom">
<Select
<NcSelect
Copy link
Contributor

Choose a reason for hiding this comment

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

image

When clicking on the empty line underneath, an empty select rectangle opens up, don't think this is supposed to happen

Copy link
Contributor

@GVodyanov GVodyanov left a comment

Choose a reason for hiding this comment

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

Graphical issue in composer

@GretaD
Copy link
Contributor Author

GretaD commented Dec 15, 2023

Graphical issue in composer

thank you grigory for the review, this pr is outdated because we are gettting in the #9144

@GretaD GretaD marked this pull request as draft December 15, 2023 08:04
@GretaD GretaD closed this Jan 9, 2024
@ChristophWurst ChristophWurst deleted the replace/multiselect-select branch January 9, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants