wubbleyou/yii2-widget-jquery-postcodes 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wubbleyou/yii2-widget-jquery-postcodes

Composer 安装命令:

composer require wubbleyou/yii2-widget-jquery-postcodes

包简介

Attaches a jquery.postcodes instance to a form

README 文档

README

Based on jquery.postcodes (imported by bower) allowing us to convert postcodes to address' via https://ideal-postcodes.co.uk

Installation

Either run

php composer.phar require --prefer-dist wubbleyou/yii2-widget-jquery-postcodes "*"

or add

"wubbleyou/yii2-widget-jquery-postcodes": "*"

to the require section of your composer.json file.

Usage

After installing the extension the following is required.

Add the widget to the page, please see the jQuery Demo for more options.

An API Key is required from https://ideal-postcodes.co.uk


JQueryPostcodesWidget::widget([

        'pluginOptions' =>
        [
            'api_key' => 'key',
            'output_fields' => [
               'line_1' => '#address_line_1',
               'line_2' => '#address_line_2',
               'post_town' => '#address_line_town',
               'county' => '#address_line_county',
               'postcode' => '#address_line_postcode'
            ],
            'input_class' => 'form-control',
            'button_class' => 'btn btn-default'
        ]])

统计信息

  • 总下载量: 153
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2016-03-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固