Skip to content

[6.x] Add Info fieldtype - #15368

Draft
joshuablum wants to merge 1 commit into
alert-tip-variantfrom
info-fieldtype
Draft

[6.x] Add Info fieldtype#15368
joshuablum wants to merge 1 commit into
alert-tip-variantfrom
info-fieldtype

Conversation

@joshuablum

@joshuablum joshuablum commented Sep 4, 2026

Copy link
Copy Markdown
Member

What

Adds a non-data Info fieldtype for displaying visual guidance in Control Panel publish forms. It supports sanitized Markdown, built-in icon selection, and five states:

  • Notice (gray)
  • Tip (blue)
  • Warning (yellow)
  • Important Warning (red)
  • Success (green)

This PR is stacked on #15367, which provides the blue tip Alert variant.

Testing

  • Added PHP tests for fieldtype behavior and configuration.
  • Added frontend tests for every state, Markdown links/lists and sanitization, and custom icons.
  • Confirmed the PHP fieldtype suite and integrated Alert/Info component tests pass.

Closes statamic/ideas#1359.

@joshuablum joshuablum changed the title Add Info fieldtype [6.x] Add Info fieldtype Sep 4, 2026
@joshuablum
joshuablum marked this pull request as draft September 4, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement an "Instruction" or "Tip" fieldtype for a more prominent authoring notice

1 participant