Primereact form

UI Components for React
Post Reply
czetsuya
Posts: 18
Joined: 19 Apr 2013, 15:13
Location: Philippines
Contact:

19 Aug 2018, 16:20

Hi,

I'm currently learning React and noticed Primereact. In building forms, I've read about redux-forms and formik. How does form work in Primereact? Can we integrate the 2 form libraries mentioned? Or Primereact works alone? Any available example project?

Thanks.

cagatay.civici
Prime
Posts: 18108
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

28 Aug 2018, 21:10

I think there is a pending PR about formik support so officially support not confirmed yet but it will be supported by the final release in september. Problem is there are too many form libs for React ;

https://github.com/primefaces/primereact/pull/538

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4344
Joined: 16 Oct 2011, 19:19
Location: Singapore

03 Sep 2018, 16:03

How about creating a form component something similar to this https://ant.design/components/form/. Recently I worked on one PrimeReact based application where I didn't use any form library.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

czetsuya
Posts: 18
Joined: 19 Apr 2013, 15:13
Location: Philippines
Contact:

07 Sep 2018, 11:22

Thanks for the reply @Sudheer, but as much as possible I want to use Primereact's native form library.

I'll just wait for beta4 and see where Primereact is going.

daamend
Posts: 1
Joined: 25 Jun 2019, 15:21

25 Jun 2019, 15:54

As I understood, support for formik is already there. I checked docu, but still it does not work. Probably I misuse it. Can you provide one example usage, please?

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest