Skip to content

Commit

Permalink
#9 add support for readonly fields in create for support of default v…
Browse files Browse the repository at this point in the history
…alues
  • Loading branch information
zifnab87 committed Oct 10, 2018
1 parent 5499130 commit b3b205e
Show file tree
Hide file tree
Showing 5 changed files with 7,455 additions and 7,215 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default {
},
roleEntryInLocalStorage: 'user_role',
tabDelimiter: '-----TAB-----',
editReadOnlyStartsWith: '_'
readOnlyPrefix: '_'
}
```

Expand Down Expand Up @@ -264,7 +264,7 @@ If you want to hide a property of a resource from list for a secific role (e.g r

### Readonly properties in Edit Mode:

if you want a property to be readonly in Edit Mode you prefix it with "_" or whatever prefix you have configured at `factoryConfig.editReadOnlyStartsWith`
if you want a property to be readonly in Edit Mode you prefix it with "_" or whatever prefix you have configured at `factoryConfig.readOnlyPrefix`

### Global Text Search q

Expand Down
Loading

0 comments on commit b3b205e

Please sign in to comment.