Tagged articles
19 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 18, 2025 · Frontend Development

From HOC to Hooks: How Ant Design Form Works Under the Hood

This article explores the inner workings of Ant Design Form, comparing the legacy HOC‑based implementation with the modern Hooks API, detailing state‑lifting, form store design, performance trade‑offs, and providing step‑by‑step code examples for building a custom form solution in React.

Ant DesignFormHOC
0 likes · 21 min read
From HOC to Hooks: How Ant Design Form Works Under the Hood
php Courses
php Courses
Apr 10, 2025 · Backend Development

Implementing Debounce and Preventing Duplicate Submissions in PHP

This article explains how to implement debounce functionality and prevent duplicate form submissions in PHP using session storage, providing step‑by‑step code examples for creating a debounce helper, generating and validating tokens, and integrating them into web forms.

DebounceFormSession
0 likes · 5 min read
Implementing Debounce and Preventing Duplicate Submissions in PHP
JavaEdge
JavaEdge
Dec 29, 2024 · Frontend Development

Master Vue 3 Form Components: Build, Validate, and Communicate Efficiently

This article explains how to create a robust Vue 3 form component using Element Plus, covering component hierarchy, data binding with model, rule definition with async-validator, provide/inject communication, and step‑by‑step validation logic with practical code examples.

AsyncValidatorComponentForm
0 likes · 19 min read
Master Vue 3 Form Components: Build, Validate, and Communicate Efficiently
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 DesignCode GenerationForm
0 likes · 13 min read
How to Evolve Ant Design Forms: Adding Dynamic Code Fields and Copy Functionality
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 8, 2024 · Frontend Development

Encapsulating Forms and Tables in Vue 3 with Element‑Plus: Design and Implementation

This article demonstrates a comprehensive approach to building reusable form and table components in Vue 3 using Element‑Plus, covering the design rationale, code examples for services, dialogs, list pages, and utilities, and discusses the benefits for development efficiency, maintainability, and scalability.

ComponentElement PlusForm
0 likes · 24 min read
Encapsulating Forms and Tables in Vue 3 with Element‑Plus: Design and Implementation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 8, 2023 · Frontend Development

Best Practices for Ant Design Forms, Dynamic Form Handling, and Component Organization in React

This article reviews practical guidelines for building maintainable Ant Design forms in React, covering layout strategies, dynamic form techniques, component encapsulation, table and tab implementations, CSS styling conventions, architecture considerations, and custom hooks to improve code quality and developer productivity.

Ant DesignDynamic FormForm
0 likes · 17 min read
Best Practices for Ant Design Forms, Dynamic Form Handling, and Component Organization in React
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 7, 2023 · Frontend Development

Understanding and Fixing the Reset Behavior Issue in Element‑Plus Form Component

This article analyzes why the reset button in an Element‑Plus form clears all fields instead of restoring the initial values, explains the underlying cause related to the onMounted lifecycle timing, and presents several practical solutions—including lifecycle adjustment, patch‑package, component extension, and repository forking—to reliably preserve initial form data in Vue projects.

Element PlusFormVue
0 likes · 7 min read
Understanding and Fixing the Reset Behavior Issue in Element‑Plus Form Component
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 14, 2022 · Mobile Development

Understanding and Customizing Editable Text in Flutter

This article explains the internal logic of Flutter's editable text widgets, demonstrates how to customize input formatting, selection range, and cursor position using TextInputFormatter and EditableText, and shows best practices for building robust text forms with validation and global keys.

DARTEditableTextFlutter
0 likes · 13 min read
Understanding and Customizing Editable Text in Flutter
政采云技术
政采云技术
Jul 13, 2021 · Frontend Development

Understanding rc-form: Internals, APIs, and Usage in React Forms

This article provides a comprehensive overview of rc-form, a React library used by Ant Design to manage form state, validation, and data collection, explaining why it is needed, its core APIs, practical usage examples, and a deep dive into its internal implementation.

Ant DesignFormReact
0 likes · 19 min read
Understanding rc-form: Internals, APIs, and Usage in React Forms
ByteFE
ByteFE
Feb 22, 2021 · Frontend Development

Mastering React Forms: From Official APIs to Advanced Community Solutions

This article provides a comprehensive analysis of form handling in React, covering the fundamentals of forms, the official controlled and uncontrolled approaches, and a detailed comparison of major community libraries such as rc-form, rc-field-form, Formik, React‑final‑form, react‑hook‑form, and Formily, including code examples, performance considerations, and practical usage tips.

Controlled ComponentsFormFormik
0 likes · 45 min read
Mastering React Forms: From Official APIs to Advanced Community Solutions
php Courses
php Courses
Dec 16, 2020 · Backend Development

Implementing Data Validation with ThinkPHP5's Validate Class

This tutorial demonstrates how to create a ThinkPHP5 validation class, build a simple HTML form, and write a backend controller method to validate input data using scenes, providing step‑by‑step code examples for PHP developers.

ControllerFormPHP
0 likes · 3 min read
Implementing Data Validation with ThinkPHP5's Validate Class
Youzan Coder
Youzan Coder
Apr 10, 2020 · Frontend Development

How to Build Complex Dynamic Forms with Zan-Form’s Configurable Approach

This article explains how zan-form, a configuration‑based plugin for the zent UI library, simplifies creating and maintaining complex dynamic forms in React by using JSON definitions, conditional visibility, remote data fetching, custom components, slots, and formatting hooks.

ConfigurationFormReact
0 likes · 10 min read
How to Build Complex Dynamic Forms with Zan-Form’s Configurable Approach
政采云技术
政采云技术
Jan 19, 2020 · Frontend Development

Analysis of Antd Form Implementation Mechanism

This article analyzes the Antd Form component's implementation, explaining how it collects, validates, and updates form data through rc-form's FieldsStore, and discusses advanced patterns like nested fields, custom component integration, and form linkage.

Data ManagementFormReact
0 likes · 18 min read
Analysis of Antd Form Implementation Mechanism
Laravel Tech Community
Laravel Tech Community
Jan 3, 2020 · Backend Development

Laravel Form Validation: Rules, Requests, and Custom Validation Techniques

This comprehensive guide explains Laravel's powerful form validation features, covering built‑in validation rules, quick validation examples, route and controller setup, handling validation errors, form request classes, custom error messages, conditional rules, array validation, and how to create custom validation rules using rule objects, closures, and extensions.

Custom ValidationForm
0 likes · 35 min read
Laravel Form Validation: Rules, Requests, and Custom Validation Techniques
Baixing.com Technical Team
Baixing.com Technical Team
Aug 28, 2017 · Frontend Development

Updated Vue.js Form Example: Corrected Code for External Elements

A correction notice clarifies that the previous Vue.js form configuration article contained an error in the 'Implementation – External Elements' section, providing the updated HTML snippet and explaining that Vue.js slots should be used as child elements within components, with an apology to readers.

ComponentFormHTML
0 likes · 2 min read
Updated Vue.js Form Example: Corrected Code for External Elements
Java High-Performance Architecture
Java High-Performance Architecture
Oct 11, 2016 · Frontend Development

Master WeChat Mini Program UI: Picker, Checkbox, Slider, Switch & Form Guide

This article demonstrates how to implement common WeChat Mini Program form controls—including picker, multi-select checkbox, slider, switch, and form submission—by presenting their code structures, event handling, and sample WXML/JS snippets, enabling developers to quickly integrate these interactive components into their apps.

FormSliderWeChat Mini Program
0 likes · 3 min read
Master WeChat Mini Program UI: Picker, Checkbox, Slider, Switch & Form Guide