Hi!

The number 0 is not shown (integer field). One can enter 0 on node edit, but when saving the field the value of the int subfield is empty (should be 0). We want to implement an isempty check, so this always returns 1 (0 should be entered).

Comments

coreteamvn created an issue. See original summary.

lazzyvn’s picture

it checks with php function empty($value) if the value is null 0 '' it will not be rendered. It won't create impact, maybe I'll fix it latter if I have free time. so you can suggest a patch, i will merge in dev

  • lazzyvn committed 1904f540 on master
    Issue #3346215: Integer 0 is not shown after saving
    
lazzyvn’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.