Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-1702

Configuration - If PROVINCE_LIMIT is Empty then State-Province Select Should be Empty

    Details

    • Type: Task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Currently if config->PROVINCE_LIMIT is empty, we load ALL state_province rows into the select options. This causes problems loading the Contact add/edit forms (and any profiles w/ state fields). For now, change the behavior to just load an empty <select> for this case.

      NOTE: We recognize that this is not optimal - and will implement a widget for this in a subsequent release which pulls state-province options based on the selected country.

        Attachments

          Activity

            People

            • Assignee:
              rupam Rupam Jaiswal
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: