Skip to content

undefined is not an object (evaluating 'r[0].toUpperCase') #271

@nachodeh

Description

@nachodeh

This is happening consistently on Safari (iOS or Mac OS) when using a basic DatePicker with the default config (null starting date value)

The error is thrown here:

return `${(value[0] || "")?.toUpperCase()}${(value || "")?.slice(1, value.length)}`;

Doesn't happen on other OSs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions