How can I use keechma/forms
with Ant Design Mobile
?
@ahmed1hsn I haven't used ant design mobile. Is it a react or react native lib?
It is both. But I have to use it for react.
Well, probably similar how you would use normal input fields. Check the real world app example: https://github.com/gothinkster/clojurescript-keechma-realworld-example-app/blob/master/src/cljs/realworld/ui/pages/login.cljs https://github.com/gothinkster/clojurescript-keechma-realworld-example-app/blob/master/src/cljs/realworld/ui/components/pure/form_inputs.cljs
Check how the inputs are wrapped and how are they used in the component
Also you need another file to actually process the form data and to handle the behavior https://github.com/gothinkster/clojurescript-keechma-realworld-example-app/blob/master/src/cljs/realworld/forms/login.cljs And the form has to be mounted which happens here https://github.com/gothinkster/clojurescript-keechma-realworld-example-app/blob/master/src/cljs/realworld/forms.cljs
Thanks.
Do I need to include keechma/forms
separately in dependencies? or are they included in keechma/toolbox
?
they are part of the keechma toolbox package