You can't integrate react-hook-form and yup with Pyramid(*), these are frontend components. If your goal is to write a simple Pyramid app to get started, don't use them yet, stick to a classic architecture with the Python / Pyramid ecosystem.
Le ven. 17 nov. 2023 à 22:41, Oberdan Santos <[email protected]> a écrit : > Vejo que ainda há algumas pendencias a serem resolvidas no Deform. Vi que > o REACT HOOK FORM + YUP é um boa solução para formularios e validações. No > entanto, estou receioso quanto ao processo de integração dessas > bibliotecas. Para evitar problemas na aplicação PYRAMID devo instalar o > NODES para suporte a essas bibliotecas ou há algum outro procedimento. > Caso tenha algum link de tutotial ou qualquer outro apoio, por gentileza > envie. > > Desde já agradeço > > Em sexta-feira, 17 de novembro de 2023 às 17:42:56 UTC-3, Steve Piercy > escreveu: > >> Deform has had a flurry of activity over the last couple of weeks to >> update the widgets to use Bootstrap 5.3. I hope to have time this weekend >> to make an alpha release, 3.0.0a. >> >> https://github.com/Pylons/deform/pull/529 >> >> --steve >> >> >> On 11/17/23 7:31 AM, Laurent Daverio wrote: >> >> Hello, >> >> Deform has a big problem, it generates widgets for Bootstrap 3. I had >> patched mine it to make it compatible with Bootstrap 4, but now the >> standard version is Bootstrap 5. And I've switched to React and Material UI >> anyway. In retrospect, I think it's not a good idea to use a library which >> binds validation and widgets. >> >> As regards validation itself, I started with Colander, it was complicated >> but worked. Then I used "schema" for a few months. Now I've seen the light >> and I use Pydantic. I wonder why I used anything else in the past... Coming >> from FastAPI, I believe you must be familiar with Pydantic. >> >> In case you need frontend validation too, you can have a look at Yup, >> it"s a bit like "schema", but for Javascript. Unfortunately, there is no >> equivalent to Pydantic... >> >> Laurent. >> >> Le ven. 17 nov. 2023 à 16:13, Oberdan Santos <[email protected]> a >> écrit : >> >>> Olá!! Gostaria de saber se todos têm adotado o DEFORM como biblioteca >>> padrão para formulario e validação ou outras bibliotecas de uso facil com >>> o Pyramid ? >>> >>> Oberdan costa >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "pylons-discuss" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/pylons-discuss/f86a52d6-171d-4097-b595-4e3718105d74n%40googlegroups.com >>> <https://groups.google.com/d/msgid/pylons-discuss/f86a52d6-171d-4097-b595-4e3718105d74n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "pylons-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6xPpeo_mUBjTC9obqZiRXcm40qhco%2Bk%2BnDSvCHmjn8eoQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6xPpeo_mUBjTC9obqZiRXcm40qhco%2Bk%2BnDSvCHmjn8eoQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> >> -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/1a475df5-b563-4ff1-afd2-f5a9de737460n%40googlegroups.com > <https://groups.google.com/d/msgid/pylons-discuss/1a475df5-b563-4ff1-afd2-f5a9de737460n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6zOeuUhYJiq4ZUqapB1Os-Rog2wE8wfeim29tj5sw%2BU4Q%40mail.gmail.com.
