Did something change at all regarding the 0 (zero) value in this version?
Although it shows in the table definition:
I don't see it when I see the column definition:
The field seems ok:
$return['posts'] = new \IPS\Helpers\Form\Number( 'sas_app_restriction_posts', $item ? $item->restriction_posts : 0, FALSE, array( 'min' => 0, 'unlimited' => 0, 'unlimitedLang' => 'no_restriction' ), NULL, NULL, NULL );
Saving:
if( isset( $values['sas_app_restriction_posts'] ) )
{
$this->restriction_posts = $values['sas_app_restriction_posts'];
}
I have several columns throwing errors when saving the default value, which is 0:
As you can see, it is trying to save '' instead of 0.
Feel free to split my post into a new topic if you think it's necessary.
Thank you.