Skip to content

Considering a "MediaOption" and "MultiSelect Option" - #6

Open
alcandelario wants to merge 9 commits into
tmtrademark:masterfrom
alcandelario:master
Open

Considering a "MediaOption" and "MultiSelect Option"#6
alcandelario wants to merge 9 commits into
tmtrademark:masterfrom
alcandelario:master

Conversation

@alcandelario

Copy link
Copy Markdown

Hello! I've found myself needing a MediaOption quite often - so change #1 is allowing users to select either an image or an arbitrary file from the Media Library (it's URL is saved in a hidden input). Change #2 to consider (maybe less useful) is the MultiOption, which allows users to choose multiple items that get saved as a serialized string.

If interested in suggesting any improvements, its much appreciated. Thanks for your work!

@tmtrademark

Copy link
Copy Markdown
Owner

Hey @alcandelario, I obviously haven't kept this updated. Glad you're interested. I just merged in all the changes Automattic has made over the past few years. One of the things included is a multi checkbox option. I'll try to get some time to look at your MediaOption, as that sounds really cool.

Cheers.

@alcandelario

Copy link
Copy Markdown
Author

Welp, let me update my fork to better conform to the changes from Automattic before you bother reviewing the MediaOption stuff :)

tmtrademark pushed a commit that referenced this pull request Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants