Skip to content

feat: allow chaining with setAriaLabelProvider#9913

Merged
mikeharv merged 1 commit into
RaspberryPiFoundation:v13from
mikeharv:allow-chaining
May 20, 2026
Merged

feat: allow chaining with setAriaLabelProvider#9913
mikeharv merged 1 commit into
RaspberryPiFoundation:v13from
mikeharv:allow-chaining

Conversation

@mikeharv
Copy link
Copy Markdown
Contributor

The basics

The details

Proposed Changes

Updates the Input method setAriaLabelProvider to return itself in order to allow chaining.

Reason for Changes

Other Input methods already allow chaining, such as appendField, setAlign, and setCheck.
This changes make it setting a provider more flexible. For example, this makes it possible to define and set a reference to a new Input while also setting its provider in the same line.
Ex. const input = this.appendDummyInput().setAriaLabelProvider('dummy');

@mikeharv mikeharv requested a review from a team as a code owner May 20, 2026 19:51
@mikeharv mikeharv requested a review from lizschwab May 20, 2026 19:51
@github-actions github-actions Bot added the PR: feature Adds a feature label May 20, 2026
@mikeharv mikeharv merged commit d4930b4 into RaspberryPiFoundation:v13 May 20, 2026
9 of 10 checks passed
@mikeharv mikeharv deleted the allow-chaining branch May 20, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants