Veileds will eat not only leaves and flowers from plants but fruits and veggies as well. I have fed mine thawed to room temperature frozen mixed vegetables, apple pear, dandelion greens, collards, kale, diced red pepper (a particular favorite), finely diced butternut squash, zucchini, melon, berries and much more. I have a lot of them (females in particular) that will almost strip every leaf off a pothos plant. (POthos is the only plant I have used in veiled cages for a long time now...they are easy to grow and not as expensive as some of the other edible plants. I've never used hibiscus or ficus...not saying that they shouldn't be used...just that I haven't used them.) with no health issues resulting. Many of my males have lived to be over 7 years of age and my females frequently live to be over 7 as well.
Although I have also heard that veileds eat vegetation/leaves to help with their hydration levels, I think its to get certain nutrients that they may be lacking in their diet. I believe that this is why some of them eat soils too. Just my own opinion!
I have had the odd veiled that won't even touch any of the fruits, veggies, leaves or flowers....and I can tell you that they don't die when they don't eat them.
I have also seen my panther chameleons eat veggies and fruit a few times...and I'm sure that I read somewhere that they weren't the only ones that will.
I also have had beardies and tortoises....and so far everything that I can give them can be given to the veileds too. I go easy on the acidic fruits and veggies though.