Skip to content

Commit

Permalink
Update Custom-types.md
Browse files Browse the repository at this point in the history
  • Loading branch information
talaviss committed Jun 1, 2016
1 parent 4faeb7d commit c421e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Custom-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A ng-admin *type* has two components:

Let's see that through an example: the `number` type.

When you define a field with `nga.field()`, the second argument is the field type ('string' by default). `nga.field()` is a factory method returning an specialized instance of [the `Field` class](https://github.com/marmelab/admin-config/blob/master/lib/Field/Field.js). For instance:
When you define a field with `nga.field()`, the second argument is the field type ('string' by default). `nga.field()` is a factory method returning a specialized instance of [the `Field` class](https://github.com/marmelab/admin-config/blob/master/lib/Field/Field.js). For instance:

```js
product.listView().fields([
Expand Down

0 comments on commit c421e8c

Please sign in to comment.