Commit 6f82a4e
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Controls] Fix error when selecting "(blank)" value in options list
(#239791)](#239791)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Nick
Peihl","email":"nick.peihl@elastic.co"},"sourceCommit":{"committedDate":"2025-10-20T19:52:09Z","message":"[Controls]
Fix error when selecting \"(blank)\" value in options list
(#239791)\n\nFixes #239735\n\n## Summary\n\nFixes an error in the
Options list control when selecting a \"(blank)\"\nvalue.\n\nMakes the
boolean check for key more explicit using [loose equality to\ncheck if
the key is null
or\nundefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Equality_comparisons_and_sameness#loose_equality_using).\nWithout
this, selecting a `\"\"` value causes the control to
error.","sha":"36758259f660d3d512b5f90ee3f5dadd7c3114b9","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Input
Control","Team:Presentation","backport:version","v9.2.0","v9.3.0","v9.1.6","v8.19.6"],"title":"[Controls]
Fix error when selecting \"(blank)\" value in options
list","number":239791,"url":"https://github.com/elastic/kibana/pull/239791","mergeCommit":{"message":"[Controls]
Fix error when selecting \"(blank)\" value in options list
(#239791)\n\nFixes #239735\n\n## Summary\n\nFixes an error in the
Options list control when selecting a \"(blank)\"\nvalue.\n\nMakes the
boolean check for key more explicit using [loose equality to\ncheck if
the key is null
or\nundefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Equality_comparisons_and_sameness#loose_equality_using).\nWithout
this, selecting a `\"\"` value causes the control to
error.","sha":"36758259f660d3d512b5f90ee3f5dadd7c3114b9"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.19"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/239791","number":239791,"mergeCommit":{"message":"[Controls]
Fix error when selecting \"(blank)\" value in options list
(#239791)\n\nFixes #239735\n\n## Summary\n\nFixes an error in the
Options list control when selecting a \"(blank)\"\nvalue.\n\nMakes the
boolean check for key more explicit using [loose equality to\ncheck if
the key is null
or\nundefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Equality_comparisons_and_sameness#loose_equality_using).\nWithout
this, selecting a `\"\"` value causes the control to
error.","sha":"36758259f660d3d512b5f90ee3f5dadd7c3114b9"}},{"branch":"9.1","label":"v9.1.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
1 parent ee21ba1 commit 6f82a4e
2 files changed
Lines changed: 30 additions & 5 deletions
File tree
Lines changed: 29 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
244 | 269 | | |
245 | 270 | | |
246 | 271 | | |
| |||
256 | 281 | | |
257 | 282 | | |
258 | 283 | | |
259 | | - | |
| 284 | + | |
260 | 285 | | |
261 | 286 | | |
262 | 287 | | |
| |||
285 | 310 | | |
286 | 311 | | |
287 | 312 | | |
288 | | - | |
| 313 | + | |
289 | 314 | | |
290 | 315 | | |
291 | 316 | | |
| |||
319 | 344 | | |
320 | 345 | | |
321 | 346 | | |
322 | | - | |
| 347 | + | |
323 | 348 | | |
324 | 349 | | |
325 | 350 | | |
| |||
381 | 406 | | |
382 | 407 | | |
383 | 408 | | |
384 | | - | |
| 409 | + | |
385 | 410 | | |
386 | 411 | | |
387 | 412 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
0 commit comments