add computed property for input visibility