maxime-rainville/silverstripe-copy-field 问题修复 & 功能扩展

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

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

maxime-rainville/silverstripe-copy-field

Composer 安装命令:

composer require maxime-rainville/silverstripe-copy-field

包简介

A field with a simple copy button

README 文档

README

This module provides a CopyField for Silverstripe CMS. The CopyField includes a copy button to make it easy to copy the value of the field to the clipboard.

image

Installation

composer require maxime-rainville/silverstripe-copy-field

Usage

The CopyField defaults to being read only. If you want to hide the value, you can use the setObfuscate method on the CopyField to get it to render as a password.

use MaximeRainville\CopyField\CopyField;

...

$fields->addFieldsToTab(
    'Root.Main',
    [
        CopyField::create('APIKey', 'API Key', $this->Key),
        CopyField::create('APISecret', 'API Secret', $this->Secret)->setObfuscate(true)
    ]
);

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2021-10-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固