And now the description of the problem. When I clear the about_specialist field from the Admin panel, it disappears in user.yaml file, it's fine. But I can't do this in frontend profile form, every form submit or refresh shows me initial textarea value. It's updated only if a value is specified in it, even a simple space.
Also, if I clear textarea in the Admin panel, the old value is still indicated when entering the frontend profile. It appears on every form refresh. Only the user's logout/login can clear this value (is it because the session is being recreated?).
I can't clear textarea value in frontend form. How to fix that?
I have some options:
I have some additional fields in my
user\blueprints\user\account.yaml
:These fields added to Login plugin registration fields:
I have
user\pages\profile\profile.md
for custom User profile frontend form. I added two fields:And now the description of the problem. When I clear the
about_specialist
field from the Admin panel, it disappears inuser.yaml
file, it's fine. But I can't do this in frontend profile form, every form submit or refresh shows me initial textarea value. It's updated only if a value is specified in it, even a simple space.Also, if I clear textarea in the Admin panel, the old value is still indicated when entering the frontend profile. It appears on every form refresh. Only the user's logout/login can clear this value (is it because the session is being recreated?).
I can't clear textarea value in frontend form. How to fix that?