sp-dev-fx-controls-react icon indicating copy to clipboard operation
sp-dev-fx-controls-react copied to clipboard

Fix #1721

Open nsoeth opened this issue 1 year ago • 4 comments

Q A
Bug fix? [ ]
New feature? [ ]
New sample? [x]
Related issues? fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?

This PR will fix #1721

Guidance

  • You can delete this section when you are submitting the pull request.
  • Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.
  • Please target your PR to dev branch.

nsoeth avatar Dec 07 '23 14:12 nsoeth

Hi @nsoeth,

Thanks for this PR!

Regarding the addition of $top query operation, I'd suggest to make it available as optional because it depends on use case and maybe it would not fit for everyone to load 5000 items at once.

Since the DynamicForm lookup field relies on ListItemPicker control, and in order to be available as a field override prop for the DynamicForm, here are the different files to update according to me:

Like this, the developer will be free to set the number of items he wants to get 🙂

A suggestion of prop name could be itemsQueryCountLimit or ODataTopCount for example but feel free to suggest!

Let me know if something's not clear or if you need help.

michaelmaillot avatar Feb 08 '24 17:02 michaelmaillot

Hi @michaelmaillot , Thanks for your suggestions, I updated the PR.

Kind regards, Niels

nsoeth avatar Feb 27 '24 13:02 nsoeth

Hi @nsoeth,

Are you still working on this one? Do you need any kind of help?

michaelmaillot avatar May 29 '24 05:05 michaelmaillot

Hi @michaelmaillot Sorry, lot of things to do the last few months but I updated the PR according to your review.

nsoeth avatar May 29 '24 12:05 nsoeth

Merged manually, thank you!

michaelmaillot avatar Jul 31 '24 07:07 michaelmaillot