Skip to content

Created Global fields#2303

Open
Toocky wants to merge 10 commits into
cortezaproject:2024.9.xfrom
Toocky:2024.9.x-feature-global-fields
Open

Created Global fields#2303
Toocky wants to merge 10 commits into
cortezaproject:2024.9.xfrom
Toocky:2024.9.x-feature-global-fields

Conversation

@Toocky
Copy link
Copy Markdown

@Toocky Toocky commented Mar 17, 2026

The following changes are implemented

Created Global Fields, this applies to all field types.

A good example for this kind of field would be for global defaults that are used in many places, ie list of countries or list of currencies or list of timezones.

Let me know how you want this implemented, I took guidance from the legacy Global Blocks PR that is waiting to be merged.

#2302
https://forum.cortezaproject.org/t/ability-to-create-a-global-select-dropdown-field-type/1858

Changes in the user interface:

When creating a global field
image

When using a global field, the selector is conditional and will not appear if there are no existing global field for this type and will only show global fields of this type.
image

The config will not be linked and loaded until selected and linked
image

Checklist when submitting a final (!draft) PR

  • Commits are tidied up, squashed if needed and follow guidelines in CONTRIBUTING.md
  • Code builds
  • All existing tests pass
  • All new critical code is covered by tests
  • PR is linked to the relevant issue(s)
  • Rebased with the target branch

@Toocky
Copy link
Copy Markdown
Author

Toocky commented Mar 22, 2026

Rebased to 2024.9.8

@Toocky Toocky force-pushed the 2024.9.x-feature-global-fields branch from 3d9f401 to abb9da6 Compare April 13, 2026 23:58
@Fajfa Fajfa force-pushed the 2024.9.x branch 2 times, most recently from b8536d1 to b7d6d27 Compare May 21, 2026 14:25
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.

1 participant