Skip to content

Fix getOption() calls to use empty string instead of null#621

Merged
lippserd merged 1 commit into
mainfrom
fix/get-null-offset-select-option
Apr 7, 2026
Merged

Fix getOption() calls to use empty string instead of null#621
lippserd merged 1 commit into
mainfrom
fix/get-null-offset-select-option

Conversation

@jrauh01
Copy link
Copy Markdown
Contributor

@jrauh01 jrauh01 commented Apr 7, 2026

Replace null with '' in SelectElement::getOption(), since the placeholder options for select elements are keyed by an empty string, not null.

Replace null with '' in `SelectElement::getOption()`, since the placeholder
options for select elements are keyed by an empty string, not null.
@jrauh01 jrauh01 self-assigned this Apr 7, 2026
@cla-bot cla-bot Bot added the cla/signed label Apr 7, 2026
@jrauh01 jrauh01 requested a review from lippserd April 7, 2026 10:04
@lippserd lippserd changed the title Fix getOption() calls to use empty string instead of null Fix getOption() calls to use empty string instead of null Apr 7, 2026
@lippserd lippserd added this to the v1.8.2 milestone Apr 7, 2026
@lippserd lippserd merged commit d8f74bb into main Apr 7, 2026
5 checks passed
@lippserd lippserd linked an issue Apr 7, 2026 that may be closed by this pull request
@lippserd lippserd deleted the fix/get-null-offset-select-option branch April 7, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Null error trying to set monitoring rules

2 participants