forked from MapComplete/MapComplete
Add possibility to upload your travelled track to OSM
This commit is contained in:
parent
9424364f3f
commit
312db3ad50
11 changed files with 208 additions and 44 deletions
|
@ -14,14 +14,15 @@ export class RadioButton<T> extends InputElement<T> {
|
|||
elements: InputElement<T>[],
|
||||
options?: {
|
||||
selectFirstAsDefault?: true | boolean,
|
||||
dontStyle?: boolean
|
||||
dontStyle?: boolean,
|
||||
value?: UIEventSource<T>
|
||||
}
|
||||
) {
|
||||
super();
|
||||
options = options ?? {}
|
||||
this._selectFirstAsDefault = options.selectFirstAsDefault ?? true;
|
||||
this._elements = Utils.NoNull(elements);
|
||||
this.value = new UIEventSource<T>(undefined);
|
||||
this.value = options?.value ?? new UIEventSource<T>(undefined);
|
||||
this._dontStyle = options.dontStyle ?? false
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue