taleteller/bootstrap-datepicker 问题修复 & 功能扩展

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

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

taleteller/bootstrap-datepicker

Composer 安装命令:

composer require taleteller/bootstrap-datepicker

包简介

Contao form field with bootstrap datepicker

README 文档

README

This project utilizes the bootstrap-datepicker project for use with the contao bootstrap framework. The datepicker is provided as form widget, available in the contao form editor. It can act as replacement for the legacy calendarfield, which does not render correctly with the bootstrap framework.

Requirements

  • Contao 3.3.0+ (Not tested below that version)
  • contao-bootstrap/bundle 1.0-rc1+
  • Bootstrap 3.3 or higher with jQuery

Installation

ToDo

Features

  • Matches with bootstrap form styles
  • Calendar popup when entering edit field
  • Compatible with all modern Browsers
  • Date validation in frontend and backend
  • Allows limitation of selectable dates
  • Automatically matches calendar language with frontend
  • Also matches date format with the backend date format
  • Error messages localized in English, German and French.

Not (yet) Implemented

  • Multidate selection
  • Range selection

Known limitations

This widget assumes your contao website uses valid ISO 639-1 (de,en,fr ...) codes for language configuration, otherwise it will fail to guess what language your site is using and falls back to english.

This widget also assumes a not too 'exotic' configuration for displaying date like d.m.Y, m/d/Y or Y-m-d to determine the input format for the calendar.

Changelog

03/27/2017

  • Added a second widget for date range selection, since the new component supports them now
  • Further improvements of code

03/22/2017

  • Updated datepicker component from version 1.4 to version 1.7
  • Added missing .htaccess to assets, because Contao disallows access beyond /system per default now
  • Use of minified bootstap-datepicker.min.js
  • Improved the initialization of widget a little

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2015-02-10