René's URL Explorer Experiment


Title: Weirdness when setting multiple-choice input options dynamically · Issue #470 · scijava/scijava-common · GitHub

Open Graph Title: Weirdness when setting multiple-choice input options dynamically · Issue #470 · scijava/scijava-common

X Title: Weirdness when setting multiple-choice input options dynamically · Issue #470 · scijava/scijava-common

Description: From a Zulip topic by @emilmelnikov: In the following example, target should be a dropdown list populated with values derived from other inputs when they change, but target renders as a normal text field. public class SampleCommand exten...

Open Graph Description: From a Zulip topic by @emilmelnikov: In the following example, target should be a dropdown list populated with values derived from other inputs when they change, but target renders as a normal text...

X Description: From a Zulip topic by @emilmelnikov: In the following example, target should be a dropdown list populated with values derived from other inputs when they change, but target renders as a normal text...

Opengraph URL: https://github.com/scijava/scijava-common/issues/470

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Weirdness when setting multiple-choice input options dynamically","articleBody":"From [a Zulip topic](https://imagesc.zulipchat.com/#narrow/stream/327236-ImageJ/topic/ChoiceWidget.20with.20listBox.20style.20doesn't.20work.20with.20setChoices) by @emilmelnikov:\r\n\r\n\u003cblockquote\u003e\r\n\r\nIn the following example, target should be a dropdown list populated with values derived from other inputs when they change, but target renders as a normal text field.\r\n\r\n```java\r\npublic class SampleCommand extends DynamicCommand {\r\n    @Parameter(label = \"Input\", callback = \"inputChanged\")\r\n    String input;\r\n\r\n    @Parameter(label = \"Target\", style = \"listBox\")\r\n    String target;\r\n\r\n    void inputChanged() {\r\n        MutableModuleItem\u003cString\u003e item = getInfo().getMutableInput(\"target\", String.class);\r\n        item.setChoices(Arrays.asList(\"one\", \"two\", \"three\"));\r\n    }\r\n}\r\n```\r\n\r\nIt works when choices = {\" \"} is passed to `@Parameter` with `listBox`. Note the single space: passing an empty string results in `NullPointerException`.\r\n\r\n\u003c/blockquote\u003e\r\n","author":{"url":"https://github.com/ctrueden","@type":"Person","name":"ctrueden"},"datePublished":"2023-09-11T19:23:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/470/scijava-common/issues/470"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9b677c04-a5f6-3187-20e6-3957fb1b9d02
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id99AE:E4115:D717F1:12064B1:69701FC0
html-safe-nonce0798ba708efe45423230a1555871e0191f4fb677e40c8f9d745b82b5d15d0e32
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUFFOkU0MTE1OkQ3MTdGMToxMjA2NEIxOjY5NzAxRkMwIiwidmlzaXRvcl9pZCI6IjkwMjYzMDUzOTE0OTcxMzM0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb99f02077f9c9bf5802e129b1c091eaf71ec777f27a9f08ad94a68ae4c770a8c
hovercard-subject-tagissue:1891125433
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scijava/scijava-common/470/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d9095fb4a3cff626744fd66c16868d66afa6218903ce0ce6dad8dcf3ee3c84fd/scijava/scijava-common/issues/470
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d9095fb4a3cff626744fd66c16868d66afa6218903ce0ce6dad8dcf3ee3c84fd/scijava/scijava-common/issues/470
og:image:altFrom a Zulip topic by @emilmelnikov: In the following example, target should be a dropdown list populated with values derived from other inputs when they change, but target renders as a normal text...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamectrueden
hostnamegithub.com
expected-hostnamegithub.com
None26d344b5c41e8171f05f1b33de4ed89a222e01250099adfcd988bb0e02fd1cbb
turbo-cache-controlno-preview
go-importgithub.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git
octolytics-dimension-user_id1262770
octolytics-dimension-user_loginscijava
octolytics-dimension-repository_id3594497
octolytics-dimension-repository_nwoscijava/scijava-common
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3594497
octolytics-dimension-repository_network_root_nwoscijava/scijava-common
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9f0c240136b4f91bdb92e57a88ba5dc425cbdb12
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/scijava/scijava-common/issues/470#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fissues%2F470
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fissues%2F470
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=scijava%2Fscijava-common
Reloadhttps://patch-diff.githubusercontent.com/scijava/scijava-common/issues/470
Reloadhttps://patch-diff.githubusercontent.com/scijava/scijava-common/issues/470
Reloadhttps://patch-diff.githubusercontent.com/scijava/scijava-common/issues/470
scijava https://patch-diff.githubusercontent.com/scijava
scijava-commonhttps://patch-diff.githubusercontent.com/scijava/scijava-common
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscijava-common
Fork 53 https://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscijava-common
Star 90 https://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscijava-common
Code https://patch-diff.githubusercontent.com/scijava/scijava-common
Issues 169 https://patch-diff.githubusercontent.com/scijava/scijava-common/issues
Pull requests 16 https://patch-diff.githubusercontent.com/scijava/scijava-common/pulls
Actions https://patch-diff.githubusercontent.com/scijava/scijava-common/actions
Projects 0 https://patch-diff.githubusercontent.com/scijava/scijava-common/projects
Wiki https://patch-diff.githubusercontent.com/scijava/scijava-common/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/scijava/scijava-common/security
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/scijava-common/issues/470
Insights https://patch-diff.githubusercontent.com/scijava/scijava-common/pulse
Code https://patch-diff.githubusercontent.com/scijava/scijava-common
Issues https://patch-diff.githubusercontent.com/scijava/scijava-common/issues
Pull requests https://patch-diff.githubusercontent.com/scijava/scijava-common/pulls
Actions https://patch-diff.githubusercontent.com/scijava/scijava-common/actions
Projects https://patch-diff.githubusercontent.com/scijava/scijava-common/projects
Wiki https://patch-diff.githubusercontent.com/scijava/scijava-common/wiki
Security https://patch-diff.githubusercontent.com/scijava/scijava-common/security
Insights https://patch-diff.githubusercontent.com/scijava/scijava-common/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/scijava/scijava-common/issues/470
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/scijava/scijava-common/issues/470
Weirdness when setting multiple-choice input options dynamicallyhttps://patch-diff.githubusercontent.com/scijava/scijava-common/issues/470#top
https://github.com/ctrueden
https://github.com/ctrueden
ctruedenhttps://github.com/ctrueden
on Sep 11, 2023https://github.com/scijava/scijava-common/issues/470#issue-1891125433
a Zulip topichttps://imagesc.zulipchat.com/#narrow/stream/327236-ImageJ/topic/ChoiceWidget.20with.20listBox.20style.20doesn't.20work.20with.20setChoices
@emilmelnikovhttps://github.com/emilmelnikov
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.