Handle value flag also for getText()