Make changes so suburb field uses autofill
Before you begin
Procedure
-
Press Ctrl+N and enter
AddressFillableExtension, and then pressEnterto open this class. -
Add the following lines of code:
property get Suburb() : String property set Suburb(value : String) -
Press Ctrl+N and enter
AddressFillableExtensionImpl, and then pressEnterto open this class. -
Add the following line of code:
var _Suburb : String as Suburb -
Press Ctrl+N and enter
UnsupportedAddressFillable, and then double-clickUnsupportedAddressFillablein the search results to open this class. -
Add the following lines of code:
override property get Suburb(): String { return _unsupportedBehavior.getValue<String>() } override property set Suburb(value: String) { _unsupportedBehavior.setValue("Surburb") } -
Press Ctrl+N and enter
AddressAutofillableDelegate, and then pressEnterto open this class. -
Add the following lines of code:
override property set Suburb(value : String) { _af.Suburb = value } override property get Suburb() : String { return _af.Suburb } -
Press Ctrl+N and enter
AddressEntityDelegate, and then pressEnterto open this class. -
Add the following lines of code:
override property get Suburb() : String { return _ao.Address.Suburb } override property set Suburb(value : String) { _ao.Address.Suburb = value }
What to do next
The next step is Add a New Zealand locale type and suburb zone type.
