kibana/x-pack/plugins/transform/public
Walter Rafelsberger f41c1b4980
[ML] Transforms: Fix editing retention policy without default value. (#123450) (#125926)
- Previously, a bug with how the form state would handle retention policy and populating the field select, a user could be blocked from setting the field or the form state wouldn't pick up the initial setting.
- This is now fixed by setting hasNoInitialSelection to reflect the form set. If no retention policy had been set previously, the select dropdown will be empty until the user does a selection (which will then correctly update the to be updated transform config).
- Functional tests have been updated to fail reflect the change and fail without the fix.
- Fixed a cloning issue: When loading the wizard it didn't pick up the retention policy value provided by the config to be cloned but always fell back to the first available date field.

(cherry picked from commit 1ecb42bf01)
2022-02-17 06:48:51 -07:00
..
__mocks__ [Discover] Removing SavedObject usage for savedSearch (#112983) 2021-10-13 11:31:04 +03:00
alerting [8.0] chore(NA): splits types from code on @kbn/i18n (#119256) (#119649) 2021-11-24 12:19:43 -07:00
app [ML] Transforms: Fix editing retention policy without default value. (#123450) (#125926) 2022-02-17 06:48:51 -07:00
index.ts [Transform] Transforms health alerting rule type (#112277) 2021-10-06 18:27:24 +02:00
plugin.ts [Transform] Add alerting rules management to Transform UI (#115363) 2021-10-19 17:15:52 +02:00
register_feature.ts [ML] Add latest transform to intro text (#94039) 2021-03-10 13:01:12 -08:00
shared_imports.ts [8.0] [eslint] enable type-specific lint rules (#114184) (#117444) 2021-11-04 03:02:56 +00:00