getValue hands back undefined if !required and no children