Replies: 1 comment
-
Hey, it is possible but it requires some extra HTML. Statamic (and by extension Memberbox) processes profile form submissions in the same way as as it processes control panel submissions. Since Bard uses the Tiptap editor in the CP it's expecting a Tiptap data structure, not a single text string. However you can simulate the Tiptap structure by using this HTML: <input type="hidden" name="content[0][type]" value="text" />
<input type="text" name="content[0][text]" value="{{ old:content ?? content }}" /> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, is there any way to submit text from a textfield to a bardfield in the user profile form? At the moment I get an error of
Cannot access offset of type string on string
Beta Was this translation helpful? Give feedback.
All reactions