Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjagodic committed Aug 21, 2024
1 parent 64e850a commit c5b1c0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/docs/widgets/datetime.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The datetime widget translates a datetime picker to a datetime string.
**Data type:** [Day.js](https://day.js.org/)-formatted datetime string

**Options:**

- `default`: accepts a datetime string, or `'{{now}}'` to fill in the current datetime; otherwise defaults to empty string.

<small>Unitl 3.2.1 it defaults to current datetime. To get an empty field, set default to empty string.</small>
Expand Down
1 change: 1 addition & 0 deletions content/docs/widgets/relation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The relation widget allows you to reference items from another collection. It pr
**Data type:** data type of the value pulled from the related collection item

**Options:**

- `collection`: (**required**) name of the referenced collection (string)
- `value_field`: (**required**) name of the field from the referenced collection whose value will be stored for the relation. For nested fields, separate each subfield with a `.` (e.g. `name.first`). For list fields use a wildcard `*` to target all list items (e.g. `categories.*`).
- `search_fields`: (**required**) list of one or more names of fields in the referenced collection to search for the typed value. Syntax to reference nested fields is similar to that of *value_field*.
Expand Down

0 comments on commit c5b1c0d

Please sign in to comment.