Tagged articles
2 articles
Page 1 of 1
KooFE Frontend Team
KooFE Frontend Team
Sep 8, 2024 · Frontend Development

How to Evolve Ant Design Forms: Adding Dynamic Code Fields and Copy Functionality

This article walks through the iterative design of an Ant Design form component, starting with a simple name field, then adding a randomly generated code field, making it editable, and finally implementing a copyable code input with reusable prefix‑text and suffix‑icon components, while comparing implementation approaches.

Ant DesignFormReact
0 likes · 13 min read
How to Evolve Ant Design Forms: Adding Dynamic Code Fields and Copy Functionality
21CTO
21CTO
Jun 13, 2021 · Frontend Development

Add a One‑Click Copy‑to‑Clipboard Button with JavaScript

This guide shows how to create a simple HTML page with a button that copies paragraph text to the system clipboard using the modern Clipboard API, including full code examples and explanations for both copy and cut operations.

Clipboard APIDOMHTML
0 likes · 5 min read
Add a One‑Click Copy‑to‑Clipboard Button with JavaScript