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 7 months 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