Add getFormat() non-const for FormattedTextField