m41w4r3.exe
m41w4r3.exe

Reputation: 423

Render Calendar without opening a dialog/modal for Material-UI React

I'm trying to render Material-UI calendar component without opening a dialog as demonstrated in all picker examples in material-ui-next demo page.

A similar question has been asked here, however the answer's import line doesn't apply anymore for beta version, and furthermore I couldn't find src files of beta version on github, nor the way to import pure calendar component.

Is it not possible to do such thing in v1 beta? If not, should I just use the older version?

Actually, I'm trying to use the calendar component under tab implementations like below, with different calendar dates pick range options as day, week, month, year; which I'll then try to implement out of that Calendar component I'm looking to render. So I thought finding out that component would be the first step to my solution.

Any help would be appreciated, thanks!

enter image description here

Week Range Calendar Year range calendar etc.

Upvotes: 1

Views: 1276

Answers (1)

Victor Oliveira
Victor Oliveira

Reputation: 1129

No it is not possible right now, and is a known issue. You can see it here: https://github.com/mui-org/material-ui/issues/4787 and https://github.com/mui-org/material-ui/issues/4796.

It is being discussed for a long time and probably will be in a release soon.

You can use a older version until that update or just use the modal with beta, until a new release.

Upvotes: 2

Related Questions