Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get Month Label String, when using useDateSelect hook #89

Open
Moshappp opened this issue Feb 12, 2023 · 0 comments
Open

How to get Month Label String, when using useDateSelect hook #89

Moshappp opened this issue Feb 12, 2023 · 0 comments

Comments

@Moshappp
Copy link

Currently we are using the format of the Month Label to be 'MMM', but since the monthValue returned by hook contains only the value without the label which makes the component run into the problem of not showing the Label as the img below.
Screen Shot 2023-02-12 at 11 04 01 PM

The hook should return the formatted Label, so Month should be passed as a value prop to the Select element as {value, label}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant