@nocobase/plugin-input-copy-button
v1.7.0-beta.34
Published
A plugin for adding copy button to single-line text fields
Readme
NocoBase Input Copy Button Plugin
This plugin adds clipboard copy functionality to single-line text fields in NocoBase. It displays a copy button (clipboard icon) next to input fields, allowing users to easily copy the content with a single click.
Features
- Adds a copy button to single-line text fields in tables and forms
- Works in read-only mode (tables, details, etc.)
- Compatible with all Input variants (Text, TextArea, URL)
- Shows success/error notifications when copying
- Can be enabled/disabled per field through field settings
Installation
# Using npm
npm install @nocobase/plugin-input-copy-button
# Using yarn
yarn add @nocobase/plugin-input-copy-buttonUsage
- Open a table or form in design mode
- Click on a single-line text field's settings (gear icon)
- Toggle the "Show copy button" switch
- Save your changes
- Use the copy button that appears next to enabled fields
Documentation
For more detailed information, visit the NocoBase documentation.
License
This project is licensed under the AGPL-3.0 License.
