Skip to content

Extend Node#set with additional input types#295

Merged
route merged 7 commits into
rubycdp:mainfrom
radiopaedia:extend-set
May 8, 2026
Merged

Extend Node#set with additional input types#295
route merged 7 commits into
rubycdp:mainfrom
radiopaedia:extend-set

Conversation

@duncan-bayne
Copy link
Copy Markdown
Contributor

@duncan-bayne duncan-bayne commented Mar 25, 2025

This PR introduces a new targets to Page#set:

  • datetime-local

... and adds some tests for existing targets.

@duncan-bayne duncan-bayne marked this pull request as ready for review March 25, 2025 22:49
expect(input.text).to eq("replacement text")
end

it "sets a date field" do
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I decided to leave these in as there wasn't test coverage, even though support for setting most of these has already been added upstream.

@duncan-bayne
Copy link
Copy Markdown
Contributor Author

Apologies it's taken so long but I've come back and cleaned up this PR; it's now green on tests and linting, and should be ready for review.

@route route merged commit 88456ed into rubycdp:main May 8, 2026
7 checks passed
@route
Copy link
Copy Markdown
Member

route commented May 8, 2026

Looks reasonable. Thank you!

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.

3 participants