Auto-generated admin panel for node.js with react PropertyOptions

Interface

PropertyOptions

Members

string

# description Optional

Description of field. Shown as hoverable hint after label.

To use translations provide it in locale with specified options key from resource

View Source adminjs/src/backend/decorators/property/property-options.interface.ts, line 130

Example
```js
new AdminJS({
  resources: [
    {
      resource: myResource,
      options: {
        properties: {
          myAwesomeProperty: {
            description: "Plane description" || "awesomeHint", // <- message key in locale
          },
        },
      },
    },
  ],
  locale: {
    translations: {
      resources: {
        myResource: {
          messages: {
            awesomeHint: "Locale description",
          },
        },
      },
    },
  },
});
```