Vegetables contain a lot of moisture that makes the patty soggy and mushy. It doesn’t hold the shape well while cooking. To prevent that, add binding ingredients like bread crumbs or poha (rice flakes). They absorb the excess moisture and helps the patty holding its shape. But do not add too much of it otherwise the patty will become dry. No one likes a dry burger.