Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.16] [EDR Workflows] Error message 'the value already exists&#…
…x27; shown for duplicate values with the 'is one of' operator on Blocklist tab (#196071) (#199992) # Backport This will backport the following commits from `main` to `8.16`: - [[EDR Workflows] Error message 'the value already exists' shown for duplicate values with the 'is one of' operator on Blocklist tab (#196071)](#196071) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Konrad Szwarc","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-23T10:29:32Z","message":"[EDR Workflows] Error message 'the value already exists' shown for duplicate values with the 'is one of' operator on Blocklist tab (#196071)\n\nThese changes ensure that the warning displayed to the user for\r\nduplicate values remains visible after onBlur. I’ve opted to keep it as\r\na warning rather than an error since entering a duplicate value doesn’t\r\nallow the user to “save” it as a selected item in the combo box—it\r\nremains an active string in the input field. We don’t block form\r\nsubmission due to this warning; any unselected value in the combo box is\r\nstripped out. The red border on the combo box is part of EUI’s behavior\r\nwhen attempting to select a duplicate, and I don’t see an easy way to\r\nmodify this at the moment.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/84b6d8af-02a8-41f3-88dc-892ed408a098","sha":"99a19e762daf08376828032e593a9e88befe6d23","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","v9.0.0","Team:Defend Workflows","backport:version","v8.16.1"],"title":"[EDR Workflows] Error message 'the value already exists' shown for duplicate values with the 'is one of' operator on Blocklist tab","number":196071,"url":"https://github.com/elastic/kibana/pull/196071","mergeCommit":{"message":"[EDR Workflows] Error message 'the value already exists' shown for duplicate values with the 'is one of' operator on Blocklist tab (#196071)\n\nThese changes ensure that the warning displayed to the user for\r\nduplicate values remains visible after onBlur. I’ve opted to keep it as\r\na warning rather than an error since entering a duplicate value doesn’t\r\nallow the user to “save” it as a selected item in the combo box—it\r\nremains an active string in the input field. We don’t block form\r\nsubmission due to this warning; any unselected value in the combo box is\r\nstripped out. The red border on the combo box is part of EUI’s behavior\r\nwhen attempting to select a duplicate, and I don’t see an easy way to\r\nmodify this at the moment.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/84b6d8af-02a8-41f3-88dc-892ed408a098","sha":"99a19e762daf08376828032e593a9e88befe6d23"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196071","number":196071,"mergeCommit":{"message":"[EDR Workflows] Error message 'the value already exists' shown for duplicate values with the 'is one of' operator on Blocklist tab (#196071)\n\nThese changes ensure that the warning displayed to the user for\r\nduplicate values remains visible after onBlur. I’ve opted to keep it as\r\na warning rather than an error since entering a duplicate value doesn’t\r\nallow the user to “save” it as a selected item in the combo box—it\r\nremains an active string in the input field. We don’t block form\r\nsubmission due to this warning; any unselected value in the combo box is\r\nstripped out. The red border on the combo box is part of EUI’s behavior\r\nwhen attempting to select a duplicate, and I don’t see an easy way to\r\nmodify this at the moment.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/84b6d8af-02a8-41f3-88dc-892ed408a098","sha":"99a19e762daf08376828032e593a9e88befe6d23"}},{"branch":"8.16","label":"v8.16.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Konrad Szwarc <[email protected]>
- Loading branch information