Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Implement to react? #94

Open
andrewbudikusuma opened this issue Dec 5, 2018 · 7 comments
Open

Implement to react? #94

andrewbudikusuma opened this issue Dec 5, 2018 · 7 comments

Comments

@andrewbudikusuma
Copy link

is there any documentation how to implement bulma extension such as calendar to react.I found vue Integration in bulma calendar. Anyone can provide me documentation? I did not find to integrate calendar bulma for my react apps

@klaumann
Copy link

klaumann commented Dec 5, 2018

I have till now just created my own components with the normal jsx syntax and used bulma extensions as HTML normally.... Bet there is a better way for this, but for now this works great, as I also have full control over my components...

@andrewbudikusuma
Copy link
Author

I have till now just created my own components with the normal jsx syntax and used bulma extensions as HTML normally.... Bet there is a better way for this, but for now this works great, as I also have full control over my components...

What I am done is follow some step integreate it to my react component, but get confused while integrate bulma calendar js to my component. Input date only show default style HTML5

here I create gist link

little bit confused at line 3 and 4

@klaumann
Copy link

klaumann commented Dec 7, 2018

I really don't know what your problem is, your gist looks pretty straightforward in my eyes...

@Wikiki
Copy link
Owner

Wikiki commented Dec 7, 2018

Hi,

Try to use a text input type. I found no way to override default html5 date behavior.

@Wikiki
Copy link
Owner

Wikiki commented Feb 18, 2019

Hi,

the new v6.0.0 release should work in your context.
Please try it and let me know.

regards

@schematis
Copy link

schematis commented May 21, 2019

I got it to work by calling bulmaCalendar.attach() inside of componentDidMount(). It did not work in either the constructor or in the render function (which also means using it in a pure function is out, from what I can tell).

@silkyfray
Copy link

silkyfray commented Jan 5, 2020

@schematis I got it working using useEffect. Here is the gist.

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

No branches or pull requests

5 participants