Micro Dream Form ValidateMicro Dream Form Validate
Home
Plugin
Video Tutorial
Source Code
  • 6.x
  • 5.x
  • 简体中文
  • English
Home
Plugin
Video Tutorial
Source Code
  • 6.x
  • 5.x
  • 简体中文
  • English
  • Introduction
  • Guide

    • Start
    • Validator
    • Validate Scene
    • Validation Events
    • Built in rules
    • Custom Rules
    • Custom Error Messages
    • Data Processor
    • Validator Collection
  • Update log

V6.0.0

  • [A] Added data processor support for execution conditions when data exists or does not exist.
  • [A] An argument parser for rules has been added, enabling more flexible usage of rules
  • [A] The Extensions rule has been introduced
  • [A] New rules added: PresentIf , PresentUnless , PresentWith , PresentWithAll
  • [A] New rules added: Contains , RequiredIfDeclined
  • [A] The NotExists rule has been implemented
  • [A] Support for operators has been added to the Unique , Exists, and NotExists rules
  • [A] Introduced the Enum and InEnum rules
  • [A] The data processor now allows specifying the type of operation value.
  • [A] The data processor supports passing parameters.
  • [A] In the Array rule, the keyword for validating lists has been changed from @keyInt to @list.
  • [U] The visibility of the replacingFieldsInMessage method in the message provider has been adjusted
  • [U] Custom validation rules now support inline error messages
  • [U] Custom rule classes now support passing static::class directly.
  • [U] Standardized naming conventions: Rule names, scene names, and event names will all be called using PascalCase.
  • [U] The constructor of the Data Processor Class has been changed to accept custom parameters.
  • [D] The default addition of the Filled rule has been removed, clarifying rules
  • [F] Fixed the issue where the regex parameter in the regex rule group was not effective.