lucca-front
lucca-front copied to clipboard
ref(core-select)!: optionKey is mandatory on ApiDirectives
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;
}