Need to check if `defaultValue` is set or not.