Text input / Text area

Text input

It is rendered by the attribute's type by default, for example given the follwing code:

type User struct {
  Name string
}

...Name will be rendered as a text input.

Text area

Simply set the Type as "text".

  product.Meta(&admin.Meta{Name: "Description", Type: "text"})

Common Meta types

results matching ""

    No results matching ""