From 70f56739c14e1edd06ebaabd408079fb8b9a2e7d Mon Sep 17 00:00:00 2001 From: Chris Bishop Date: Mon, 9 Apr 2018 09:35:21 +0100 Subject: [PATCH] Stores dropdown in client now shows 100 entries. --- ui/src/containers/ClientForm/index.js | 8 ++++++-- .../statementForwardingRequestHandler.js | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ui/src/containers/ClientForm/index.js b/ui/src/containers/ClientForm/index.js index 1e689eb693..0484b56896 100644 --- a/ui/src/containers/ClientForm/index.js +++ b/ui/src/containers/ClientForm/index.js @@ -6,7 +6,7 @@ import { map } from 'lodash'; import btoa from 'btoa'; import Checkbox from 'ui/components/Material/Checkbox'; import Dropdown from 'ui/components/Material/Dropdown'; -import { withSchema, withModel } from 'ui/utils/hocs'; +import { withModels, withModel } from 'ui/utils/hocs'; import { API_SCOPES, XAPI_SCOPES } from 'lib/constants/scopes'; import ValidationList from 'ui/components/ValidationList'; import AuthorityEditor from './AuthorityEditor'; @@ -22,7 +22,11 @@ const renderStoreItems = stores => )); const renderStoreDropdown = compose( - withSchema('lrs') + withProps({ + schema: 'lrs', + first: 100 + }), + withModels )(({ models, onSelect, selectedId, elemId }) =>