Skip to content

docs: add min and max properties for attachment form component#589

Merged
ruibaby merged 1 commit intohalo-dev:mainfrom
ruibaby:fix/attachment-min-max
Apr 29, 2026
Merged

docs: add min and max properties for attachment form component#589
ruibaby merged 1 commit intohalo-dev:mainfrom
ruibaby:fix/attachment-min-max

Conversation

@ruibaby
Copy link
Copy Markdown
Member

@ruibaby ruibaby commented Apr 29, 2026

What this PR does

Adds missing min and max property documentation for the attachment form component.

Why

In halo-dev/halo#3827, the attachment component gained accepts, min, and max props to limit file format and quantity. The docs already covered accepts but left out min and max (see #323).

Changes

  • Added min:最小文件数量 and max:最大文件数量 to the parameter list
  • Applied to all versioned docs that document the attachment component (2.18–2.24 and current)

Fixes #323

None

@f2c-ci-robot f2c-ci-robot Bot added the do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. label Apr 29, 2026
@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot Bot commented Apr 29, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign ruibaby for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ruibaby ruibaby force-pushed the fix/attachment-min-max branch from 267238d to b819da4 Compare April 29, 2026 10:38
@f2c-ci-robot f2c-ci-robot Bot added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Apr 29, 2026
@ruibaby ruibaby force-pushed the fix/attachment-min-max branch from b819da4 to 0572adc Compare April 29, 2026 10:40
@ruibaby ruibaby merged commit bfc5797 into halo-dev:main Apr 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note-none Denotes a PR that doesn't merit a release note.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

开发者指南中的 formScheam attachment 组件缺少属性

1 participant