Is there a way to display all the items from a list. Only 1 choice column "Category" need to be displayed. So it has to be dropdown. I had it in the classic page (html, jquery with css).

enter image description here

1 Answer 1


In modern SharePoint pages JavaScript injecting is sunset by Microsoft.

For custom web part in modern pages you must have to use SPFx solution.

Refer this Microsoft docs for SPFx webpart

Build SPFx web part

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.