8000 Fix resource selection display in scope-based permission creation by Alnyli07 · Pull Request #46387 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Fix resource selection display in scope-based permission creation - #46387

Merged
ssilvert merged 2 commits into
keycloak:mainfrom
Alnyli07:fix/resource-selection-on-scope-based-permission
Mar 10, 2026
Merged

ssilvert merged 2 commits into
keycloak:mainfrom
Alnyli07:fix/resource-selection-on-scope-based-permission

Conversation

@Alnyli07
Copy link
Copy Markdown
Contributor

Summary

  • Fix single-select typeahead not displaying the selected resource name when the resource is outside the initial 10 results
  • Resolve display from selected state (fetched by ID, always stable) instead of items (paginated search results that reset)
  • Eagerly update selected on item pick so the name is available immediately without waiting for an async round-trip

Closes #46384

@Alnyli07
Alnyli07 requested review from a team as code owners February 16, 2026 16:11
Closes keycloak#46384

Signed-off-by: Ali Tugrul Pinar <ali@keymate.io>
@Alnyli07
Alnyli07 force-pushed the fix/resource-selection-on-scope-based-permission branch from 8c16b73 to ec18721 Compare February 23, 2026 11:47
@sguilhen
sguilhen requested a review from edewit March 5, 2026 19:09
@ssilvert ssilvert left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried it out. Looks good.

@ssilvert
ssilvert merged commit 366a739 into keycloak:main Mar 10, 2026
61 checks passed
sashyo pushed a commit to tide-foundation/keycloak-IGA that referenced this pull request Jul 20, 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.

Resource selection not displayed in scope-based permission creation when resource is not in initial results

2 participants

0