Skip to content

Model attributes field types

Gabriel Cardoso edited this page Sep 15, 2016 · 2 revisions

With its default components, :crud and :form, Para automatically generates for you tables and forms.

This works by parsing your models table, relations, and configuration, to understand what are the fields that you may want to appear.

These field types are mainly for Para's internal use, but can often be used to force a field or method to behave like a specific field type.

The existing field types are the following :

  • string
  • text
  • numeric
  • boolean
  • datetime
  • password
  • file
  • image
  • enum
  • relation
  • belongs_to
  • has_many
  • nested_one
  • nested_many
  • redactor

Documentation on how and when to use them in your application may come, but for now, feel free to contact us or open an issue if you have any question.

Clone this wiki locally