enable value textarea only if key is non-empty