maxkunes Posted June 16, 2018 Share Posted June 16, 2018 In my plugin I define a settings like so : I then proceed to have my settings.php file have these contents: $form->add(new \IPS\Helpers\Form\TextArea('disable_multiple_quantities_names', \IPS\Settings::i()->disable_multiple_quantities_names, null, array())); if ($values = $form->values()) { $form->saveAsSettings(); return true; } return $form; Going to the settings section of the plugin, I get this as expected (Disregard the plugin name, its for testing) : Putting in a value and pressing save, I get this: Edit : Creating a new plugin and redoing everything fixed this, something must have been corrupted. Link to comment Share on other sites More sharing options...
bfarber Posted June 18, 2018 Share Posted June 18, 2018 Just to flag the 'best answer', the OP recreated his plugin as something apparently got corrupted. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.