opt.hidden and opt.disabled is replaced by opt.properties