Title: Add “Open link” icon and Copy button support for URL fields in edit forms
Description:
When working with URL fields in edit forms (including forms generated by linkage rules), there is currently no convenient way for end users to:
- Open the URL directly from the form
- Copy the URL value with a single click
Regular text fields already support a “Copy” button option, but URL fields in edit forms do not expose either:
- A “Copy” button
- A small “Open link” / “Follow link” icon (e.g. opening the URL in a new browser tab)
This creates an inconsistent user experience and makes it harder for users to work efficiently with links.
Requested behavior:
For fields that are configured as URL/link fields (or marked as such in the schema):
- Add support for enabling the existing Copy button option, just like on normal text fields.
- Add an optional “Open link” icon next to the field:
- Clicking the icon opens the URL in a new tab (
target="_blank"). - The icon should be clearly recognizable as “follow/open link”.
These options should be available in the field’s UI configuration for edit forms, including forms generated automatically (e.g. via linkage rules), so that administrators can enable them without custom code.
Benefits:
- Improves usability for users who frequently need to open or copy URLs.
- Makes URL fields consistent with other text fields that already support copy buttons.
- Reduces the need for workarounds such as custom blocks, custom pages, or plugins just to open or copy a link value.