Skip to content

[PLAY-3149] Dropdown: Rails Dynamic Options and Event Integration + React Hook Form Support for React - #6538

Merged
nickamantia merged 13 commits into
masterfrom
play-3149-dropdown-dynamic-options
Aug 31, 2026
Merged

[PLAY-3149] Dropdown: Rails Dynamic Options and Event Integration + React Hook Form Support for React#6538
nickamantia merged 13 commits into
masterfrom
play-3149-dropdown-dynamic-options

Conversation

@nickamantia

@nickamantia nickamantia commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

PLAY-3149

This PR also contains all code from PLAY-3150, cherry picked over for safer testing and merging.

Screenshot 2026-08-21 at 2 59 35 PM

This PR brings over the dynamic options from the typeahead kit to the dropdown kit.
New props include:
options_by_context
context_selector
clear_on_context_change
options_event_type

They are slightly re-named from the typeahead kit just to fit in better with the dropdown.

As stated above, this PR also contains all code from PLAY-3150 which adds react hook form support to the React Dropdown kit.

How to test? Steps to confirm the desired behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See addition/change

Checklist:

  • LABELS Add a label: enhancement, bug, improvement, new kit, deprecated, or breaking. See Changelog & Labels for details.
  • DEPLOY I have added the milano label to show I'm ready for a review.
  • TESTS I have added test coverage to my code.
  • PLAYGROUND I have added and tested Playground metadata and overrides for all kits and props updated in my code.
  • SEMVER I have added a minor, major, or patch label for release.
  • RC I have added an inactive RC label if not an active RC.

@nickamantia nickamantia self-assigned this Aug 21, 2026
@nickamantia nickamantia added enhancement New Features, Props, & Variants (USED IN CHANGELOG) minor Semver Target labels Aug 21, 2026
@powerhome-portal

Copy link
Copy Markdown

A change to documentation files was detected in your PR. Please visit this link to preview changes: https://portal-staging.powerapp.cloud/docs?filters[kind]=all&filters[user]=all&filters[namespaceFilter]=play-3149-dropdown-dynamic-options

@nickamantia nickamantia added the milano 20 MAX - Deploy this PR to a review environment via Milano label Aug 21, 2026
@nickamantia
nickamantia marked this pull request as ready for review August 21, 2026 19:08
@nickamantia
nickamantia requested review from a team as code owners August 21, 2026 19:08
Comment thread playbook/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_dynamic_options.html.erb Outdated
Comment thread playbook/app/pb_kits/playbook/pb_dropdown/index.js
Comment thread playbook/app/pb_kits/playbook/pb_dropdown/index.js
Comment thread playbook/app/pb_kits/playbook/pb_dropdown/index.js
Comment thread playbook/app/pb_kits/playbook/pb_dropdown/index.js
Comment thread playbook/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_dynamic_options.html.erb Outdated
Comment thread playbook/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_dynamic_options.html.erb Outdated
Comment thread playbook/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_dynamic_options.html.erb Outdated

@nitro-pr-review nitro-pr-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The new Rails dynamic-options path has two likely failures in normal use: context-driven lists never load for the select’s initial value, and replacing options does not clear the server-rendered empty state.

Comment thread playbook/app/pb_kits/playbook/pb_dropdown/index.js
Comment thread playbook/app/pb_kits/playbook/pb_dropdown/index.js Outdated
nidaqg
nidaqg previously approved these changes Aug 25, 2026
@github-actions

Copy link
Copy Markdown

🎉 Congratulations on creating an Alpha Version!

Your Alpha for Ruby Gems is 17.0.0.pre.alpha.play3149dropdowndynamicoptions18662

Your Alpha for NPM is 17.0.0-alpha.play3149dropdowndynamicoptions18662

@nidaqg nidaqg added the Ready for Release merged to master, ready for a versioned released label Aug 27, 2026
@nidaqg nidaqg changed the title [PLAY-3149] Dropdown: Rails Dynamic Options and Event Integration [PLAY-3149] Dropdown: Rails Dynamic Options and Event Integration + React Hook Form Support for React Aug 31, 2026
@nickamantia
nickamantia merged commit cd0aca6 into master Aug 31, 2026
15 checks passed
@nickamantia
nickamantia deleted the play-3149-dropdown-dynamic-options branch August 31, 2026 20:40
@github-actions

Copy link
Copy Markdown

You merged this pr to master branch:
- Ruby Gem: 17.2.0.pre.rc.0
- NPM: 17.2.0-rc.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentic-review alpha enhancement New Features, Props, & Variants (USED IN CHANGELOG) milano 20 MAX - Deploy this PR to a review environment via Milano minor Semver Target Ready for Release merged to master, ready for a versioned released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants