Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions advanced/value-mappers.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Configuring value mappers in Konstrukt, the back office UI builder

A value mapper is a little Konstrukt helper class that sits between the editor UI and the database and lets you tweak the stored value of a field. By default Konstrukt will save a datatypes value is it would be stored in Umbraco. Value mappers let you change this.

When Konstrukt resolves a value mapper it will attempt to do so from the global DI container which means you can inject amy dependencies that you require for your mapper. If there is no such type defined in the DI container, Konstrukt will then fallback to maually instantiating a new instance of the value mapper.
When Konstrukt resolves a value mapper it will attempt to do so from the global DI container which means you can inject any dependencies that you require for your mapper. If there is no such type defined in the DI container, Konstrukt will then fallback to maually instantiating a new instance of the value mapper.

## Defining a value mapper

Expand Down Expand Up @@ -59,4 +59,4 @@ Set the value mapper for the current field.
````csharp
// Example
fieldConfig.SetValueMapper(new MyValueMapper());
````
````