Forum
Members App, Doesn't seem to play well with textarea's
In my member.html I am using a textarea field and this saves, then the member is able to edit and all works well.
The issue is when an admin edits the textarea... at first the data is present, when the admin saves and you get conformation the changes have been saved. Now the admin textarea is empty but the data has been updated in member profile.
When the form is saved by member it is saved into the database as a variable, but when the admin saves the data is saved as an array in the database.
register.html
saves in database as
{"first_name":"Silly","last_name":"Me","directions":"Go west 250 feet"}
member.html
saves in database as
{"first_name":"Silly","last_name":"Me","directions":{"_flang":"plain","raw":"Go west 250 feet","processed":"Go west 250 feet"}}
...but then the
directions
field is empty after admin save, yet the database is updated as seen above.Please post your Diagnostics Report - thanks!
As explained in the beta Slack, the Members App does not work with the beta. So you should not expect it to work, it has not been updated. Only those add-ons available for download as part of the beta work, and issues with those should be reported in the beta Slack.
Sorry, I sent the info for the wrong server...
Here is the right one, and for what its worth, the problem is exactly the same.
Yes, that's a known issue. You can't edit the same data from both sides.
With all the free time you have, you haven't fixed a known issue?? lol :)
OK, as long as I know I didn't break it.
Crazy thing is,
text
fields work wonderful, buttextarea
hits a brick wall. I understand why admin stores as array(). This is actually been a known issue for a long time on my part, I just finally got around to asking for conformation.RK
Yes, elemental types will work fine. Compound types will not.