Article Details
Id: | 18460 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.04.01 |
Opened: | 06/08/2021 |
Closed: | 06/08/2021 |
Released: | 31/08/2021 |
Job: | J027162 |
HTML Widgets; widget.UI.TextBox; New dataType start-up option of "AddressLookup"
The HTML Widget TextBox control can now be initialised with a "dataType" start-up option of "AddressLookup".
Providing the database has Google Addressing configured correctly (under Global Settings, Clients, Addressing), this will provide an address lookup facility.
The following example demonstrates setting the "dataType" when creating the control.
C.txtAddress = widget.UI.TextBox(e.row.GetElement("txtAddress"), {
dataType: "addresslookup",
maxLength: 255,
});