web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / JavaScript remove Mult...
Power Pages
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();

Categories:
I have the same question (0)
  • fm_skeller Profile Picture
    277 Moderator on at

    It would be something like this:

    $("#<field>_i input[value='1']").closest("li").remove()
  • oliver.rodrigues Profile Picture
    9,471 Most Valuable Professional on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 52

#2
Valantis Profile Picture

Valantis 46

#3
Vish WR Profile Picture

Vish WR 29

Last 30 days Overall leaderboard