Frontend API create account with custom content field #220
-
We have created a custom content field for the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@boostvolt content_fields are read-only by default, but this guide explains how to enable these for write_access https://developers.swell.is/guides/opening-content-permissions so that you can update them with swell-js. For example, if I have a content_field named
|
Beta Was this translation helpful? Give feedback.
@boostvolt Yes, you're right!
AccountSnake
isn't acceptingcontent
field while productSnake accepts it. So, we need to movecontent
field inside BaseModel, so that you could create/update content fields in any of the interfaces.Would you be comfortable to create a PR for this change?
Secondly, you should be creating an account as follows since you're using
content
field.