The file attached is the patch file for the list of states for Malaysia (MY) country. It would be great if we could add this in the next release of addressfield module.

Thanks :)

CommentFileSizeAuthor
addressfield_malaysia.patch1.23 KBjonloh

Comments

jonloh’s picture

Status: Active » Needs review
j0rd’s picture

Issue tags: +pluggable regions

This is a duplicate of
#1829900: [meta] Address Field 2.x needs pluggable administrative areas and an actual API

If you think so to, please close your ticket.

rszrama’s picture

Component: Code » Address formats
bojanz’s picture

Issue summary: View changes
Status: Needs review » Needs work

The state names are correct, but the keys aren't, they should be the ISO keys, as defined on https://en.wikipedia.org/wiki/ISO_3166-2:MY.

For example:
01 => Johor,
02 => Kedah

bojanz’s picture

Status: Needs work » Fixed

Made the needed changes and committed the patch.

  • bojanz committed 933b8df on authored by jonloh
    Issue #1297580 by jonloh: State dropdown list for Malaysia
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.