mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 08:25:03 +02:00
AcSelect Widget and integration into the Testwidget
This commit is contained in:
@ -24,6 +24,7 @@ import {loadWebComponent} from "../etemplate/Et2Widget/Et2Widget";
|
||||
import {Et2VfsSelectDialog} from "../etemplate/Et2Vfs/Et2VfsSelectDialog";
|
||||
import {Et2Checkbox} from "../etemplate/Et2Checkbox/Et2Checkbox";
|
||||
import type {EgwAction} from "../egw_action/EgwAction";
|
||||
import {AcSelect} from "../../../achelper/js/AcSelect/AcSelect";
|
||||
|
||||
/**
|
||||
* Type for push-message
|
||||
@ -206,6 +207,20 @@ export abstract class EgwApp
|
||||
}
|
||||
}
|
||||
|
||||
changeButton()
|
||||
{
|
||||
const acSelect: AcSelect = window.document.querySelector("ac-select")
|
||||
acSelect.disableLinkSearch = !acSelect.disableLinkSearch
|
||||
acSelect.requestUpdate()
|
||||
console.log("disableLinkSearch" + acSelect.disableLinkSearch)
|
||||
}
|
||||
|
||||
doSomething(thing?:any)
|
||||
{
|
||||
console.log("doSomething\n"+thing);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function is called when the etemplate2 object is loaded
|
||||
* and ready. If you must store a reference to the et2 object,
|
||||
|
Reference in New Issue
Block a user