承接 codem/silverstripe-html5-inputs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

codem/silverstripe-html5-inputs

最新稳定版本:v2.0.0-rc1

Composer 安装命令:

composer require codem/silverstripe-html5-inputs

包简介

Base HTML5 input fields, no Javascript

README 文档

README

This module provides a set of bare bones HTML5 inputs with no Javascript or CSS.

You can use these fields in your projects as-is or extend them to provide additional features or shims.

The supported inputs are listed at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input:

  • colour (color)
  • date, datetime-local, time
  • email (extends core Silverstripe EmailField)
  • month, week
  • number
  • range
  • search
  • tel
  • url

Browser support for these fields is varying although nearly all modern browsers will support these fields to a decent extent.

Date, datetime and time fields are particularly difficult to support, due to locale differences and even different user expectations within those locales.

Traits

Various field types support certain traits that allow setting/getting of common attributes

Datalist

Certain inputs support a <datalist>, e.g the colour field to restrict initial selection.

This works somewhat like a <select> element, except that browser implementation and support varies.

Requirements

  • silverstripe/framework ^5 (>= v1)
  • silverstripe/framework ^4 (< v1)

Installation

composer require codem/silverstripe-html5-inputs

License

BSD-3-Clause

See License

Documentation

Configuration

Hopefully none !

Maintainers

  • Codem

Bugtracker

Please use the Github issue tracker to report bugs and request features

Development and contribution

Pull requests and features are most welcome. If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-11-27