You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior
With typescript it is not possible to use a variable in selectionType, because "undefined", or "null" are not valid values.
Expected behavior
import { SelectionType } from '@swimlane/ngx-datatable';
get selectionType(): SelectionType | undefined {
return this.readOnly ? undefined : SelectionType.checkbox;
}
I'm submitting a ... (check one with "x")
Current behavior
With typescript it is not possible to use a variable in selectionType, because "undefined", or "null" are not valid values.
Expected behavior
This should be possible, but it is not.
Reproduction of the problem
Example plunker is not running at all so I can't reproduce the problem.
What is the motivation / use case for changing the behavior?
Nobody makes anything serious without typesafe code.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: