Jump to content

Editor form in member settings


Recommended Posts

Posted

So I am hooking into \IPS\core\modules\front\members\profile and trying to make a setting what a member will obviously edit but when I use the editor it throws a error

Here's the setting

$form->add( new \IPS\Helpers\Form\Editor( 'My_Setting', $this->member->My_Setting, FALSE, array( ) ) );

I have to use TextArea for it to work,

$form->add( new \IPS\Helpers\Form\TextArea( 'My_Setting', $this->member->My_Setting, FALSE, array( ) ) );

is it because you can't use the editor in there, or is it something I am doing?, the error it gives is

Undefined index: autoSaveKey

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...