Closed whanno-lsl closed 2 years ago
Thank you for raising a feature request. Feature requests will be prioritised in accordance with our roadmap, customer and developer priorities. This request will be reviewed in our weekly refinement sessions and assigned to a specific project board or column, depending on the nature of the request and the development work required. For more information on our processes, please click here
@whanno-lsl We can look at this - have you considered the MultiSelect component though? https://elements.reapit.cloud/?path=/docs/multiselect--react-example This supports defaultValues already out the box
This issue has recently been assigned to our โFront-endโ project board for review. All issues are reviewed in a weekly refinement session and where applicable, a comment and associated label will be added. If required, we will add a technical specification to the ticket. Please take the time to review the information. When we're ready to schedule the issue, it will be moved to the relevant column where you can continue to track its progress to completion. For more information on our processes, please click here
Thanks, unfortunately we will be searching hundreds of options (negotiators) so really need something dynamic.
Cool, we've accepted the feature so in our near term backlog now. FYI I did something similar with the MultiSelect using an input for search, debouncing the query see https://github.com/reapit/foundations/blob/master/packages/marketplace-management/src/components/ui/offices/office-group-edit-form.tsx#L185
Might be of use, but failing that just track this ticket and will be included in a version soon.
Hey @whanno-lsl ๐ I've just released @reapit/elements v3.7.10
which I added a default value option to the searchable dropdown component. Here's a link to the docs for you https://elements.reapit.cloud/?path=/docs/searchabledropdown--default-value
Let me know if this is what you were after and or whether you have any feedback, suggestions or issues!
Seems spot on, cheers ๐
From: Ashleigh Simonelli @.> Sent: 20 January 2022 16:07 To: reapit/foundations @.> Cc: Martin Whan @.>; Mention @.> Subject: Re: [reapit/foundations] Need the ability to set a default value for the Searchable Dropdown UI component (Issue #5814)
This message originated from outside your organization
Hey @whanno-lslhttps://github.com/whanno-lsl ๐ I've just released @reapit/elements v3.7.10 which I added a default value option to the searchable dropdown component. Here's a link to the docs for you https://elements.reapit.cloud/?path=/docs/searchabledropdown--default-valuehttps://elements.reapit.cloud/?path=/docs/searchabledropdown--default-value
Let me know if this is what you were after and or whether you have any feedback, suggestions or issues!
โ Reply to this email directly, view it on GitHubhttps://github.com/reapit/foundations/issues/5814#issuecomment-1017663850, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEUH4AM7IEWOTJQMF7DA66DUXAXL7ANCNFSM5LYWEDPA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.**@.>>
This message and any attachment is confidential and may be privileged or otherwise protected from disclosure and is intended solely for the addressees and other authorised to receive it. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system. If you are not the intended recipient any disclosure, copying, distribution or action taken in reliance on the contents of this e-mail or any attachments is prohibited. Any view or opinions presented are solely those of the author and do not necessarily represent those of LSL Property Services plc.
Registered Office address: Newcastle House, Albany Court, Newcastle Business Park, Newcastle Upon Tyne, NE4 7YB
Registered Number: 05114014. VAT number: GB842795983.
Is your feature request related to a problem? Please describe. We use a (React) Searchable Dropdown component to search through a list of negotiators, and have a requirement to default to the negotiator currently logged in when the view is rendered
Describe the solution you'd like Be able to set a default value so that, for example, the required negotiator is displayed in the Searchable Component without having to search for them first
Describe alternatives you've considered We can't use a standard "Select" component due to the large number of "options" required