BREAKING CHANGE(decorators): Migrate to TC39 standard decorators (accessor) across components, update tsconfig and bump dependencies
This commit is contained in:
@@ -24,16 +24,16 @@ export class DeesInputRadiogroup extends DeesInputBase<string | object> {
|
||||
// INSTANCE
|
||||
|
||||
@property({ type: Array })
|
||||
public options: RadioOption[] = [];
|
||||
accessor options: RadioOption[] = [];
|
||||
|
||||
@property()
|
||||
public selectedOption: string = '';
|
||||
accessor selectedOption: string = '';
|
||||
|
||||
@property({ type: String })
|
||||
public direction: 'vertical' | 'horizontal' = 'vertical';
|
||||
accessor direction: 'vertical' | 'horizontal' = 'vertical';
|
||||
|
||||
@property({ type: String, reflect: true })
|
||||
public validationState: 'valid' | 'invalid' | 'warn' | 'pending' = null;
|
||||
accessor validationState: 'valid' | 'invalid' | 'warn' | 'pending' = null;
|
||||
|
||||
// Form compatibility
|
||||
public get value() {
|
||||
|
||||
Reference in New Issue
Block a user