https://github.com/vokseverk/vokseverk.addresseditor
An Umbraco Property Editor for editing the different fields of a postal address.
https://github.com/vokseverk/vokseverk.addresseditor
property-editor umbraco
Last synced: 21 days ago
JSON representation
An Umbraco Property Editor for editing the different fields of a postal address.
- Host: GitHub
- URL: https://github.com/vokseverk/vokseverk.addresseditor
- Owner: vokseverk
- Created: 2016-06-28T07:58:54.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2021-03-15T19:34:40.000Z (about 4 years ago)
- Last Synced: 2023-08-14T13:58:13.602Z (over 1 year ago)
- Topics: property-editor, umbraco
- Language: XSLT
- Homepage: https://our.umbraco.com/packages/backoffice-extensions/address-editor/
- Size: 126 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Address Editor for Umbraco
This is a configurable address editor for Umbraco v7 & v8, that is
capable of putting the zip code and city name editors on the same row :)It's a nice replacement for having 3, 4, 5 or more generic *Textstring* fields
on the doctype — a single property for the data instead of having to create a
convoluted *Nested Content/Archetype* setup for it.The [releases page][RELS] has PropertyValueConverters for use in your projects.
[RELS]: https://github.com/vokseverk/Vokseverk.AddressEditor/releases
## Screenshots
### Editor

### Configuration

## Rendering
The raw value is a JSON object with the individual segments, e.g.:
```json
{
"name": "Etch-A-Sketch",
"address": "Streetname 55",
"zipcode": "1234",
"city": "East Drawing"
}
```Using the PropertyValueConverter you can access them directly:
```razor
@(Model.Name)
@(Model.Address)
@(Model.Zipcode)
@(Model.City)
```