Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Customize & Extend
Unanswered

JavaScript remove Multi-select option set value

(0) ShareShare
ReportReport
Posted on by 9

Hi,

 

Is it possible to remove an option from a multi-select option set field on the portal via JavaScript?

 

The code to remove a value from a single option set field doesn't work i.e. $("#field option[value='1']").remove();

  • oliver.rodrigues Profile Picture
    9,315 Most Valuable Professional on at
    Re: JavaScript remove Multi-select option set value

    can you check if this helps?: Manipulating Choices (Multiselect OptionSet) via J... - Power Platform Community (microsoft.com)

  • fm_skeller Profile Picture
    277 Super User 2025 Season 1 on at
    Re: JavaScript remove Multi-select option set value

    It would be something like this:

    $("#<field>_i input[value='1']").closest("li").remove()

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics