avo-hq/avo

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

Open

#2.315 aberto em 3 de jan. de 2024

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

Métricas do repositório

Stars
 (1.778 stars)
Métricas de merge de PR
 (Mesclagem média 1d 6h) (67 fundiu PRs em 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.

Guia do colaborador