lucca-front icon indicating copy to clipboard operation
lucca-front copied to clipboard

ref(core-select)!: optionKey is mandatory on ApiDirectives

Open GuillaumeNury opened this issue 1 year ago • 2 comments

Description

  • optionKey is mandatory on ApiDirectives

This will need to be rebased on RC once #2949 is merged and rc is up-to-date with master. Only this commit is relevant.

This is a breaking change. On all classes that extend ALuCoreSelectApiDirective, apps have to:

class MyDirective extends ALuCoreSelectApiDirective {
+	protected override optionKey = (option: T) => option.id;
}

GuillaumeNury avatar Jul 15 '24 16:07 GuillaumeNury

:woman_cook: https://lucca-front.lucca.tech/PR-2950/storybook

LuccaIntegration avatar Jul 15 '24 16:07 LuccaIntegration

:woman_cook: https://lucca-front.lucca.tech/PR-2950/storybook

LuccaIntegration avatar Aug 21 '24 09:08 LuccaIntegration