avo-hq/avo

Enable a field to be displayes as another field on a different view

Open

#2,315 opened on Jan 3, 2024

View on GitHub
 (3 comments) (2 reactions) (0 assignees)Ruby (308 forks)user submission
DSL-relatedEnhancementHelp wanted

Repository metrics

Stars
 (1,778 stars)
PR merge metrics
 (Avg merge 1d 6h) (67 merged PRs in 30d)

Description

Feature

It's common to use two fields to display the same data in different views.

Example:

  field :status, as: :select, show_on: :forms, ...options
  field :status, as: :badge,  hide_on: :forms, ...options

Maybe there's an API to make this available without duplicating the fields.

Current workarounds

Using two fields.

Contributor guide