How do I sort the lookup list in the form?
There is not setting for sorting order the default view is sorting by school name but in the drop-down menu, it is not.
How do I sort the lookup list in the form?
There is not setting for sorting order the default view is sorting by school name but in the drop-down menu, it is not.
Dear Rachel,
Right now, sorting can only be configured via JavaScript, using the orderBy property, like this:
fd.field('Lookup').ready().then(function(field) {
field.orderBy = { field: 'Title', desc: true };
});
For more information, please, check Lookup field's properties - Managing SharePoint fields with JS — SharePoint forms
In the future, we hope to add this functionality to lookup field's properties in the editor.