Skip to content

Extend Node#set with additional input types#295

Open
duncan-bayne wants to merge 7 commits intorubycdp:mainfrom
radiopaedia:extend-set
Open

Extend Node#set with additional input types#295
duncan-bayne wants to merge 7 commits intorubycdp:mainfrom
radiopaedia:extend-set

Conversation

@duncan-bayne
Copy link
Copy Markdown

@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
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
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.

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