Coder Social home page Coder Social logo

formol's People

Contributors

gentooboontoo avatar glepretre avatar hugo-perier avatar paradoxxxzero avatar stolinski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

formol's Issues

File Field Returns "Error"

<Field type="file">Background</Field>

shows up as

Screenshot 2019-04-09 14 00 19

Not sure why. I'd love some code examples in the docs :) I'll try to add some when I can.

Any way to customize Submit Button to display loader while submitting?

Hi,

First of all, thank you so much for the wonderful library. Forms have been a pain and this is just makes it unbelievably easy.

I was wondering if there is any hook/handler available to customize submit button to display loading and disabling it white form gets submitted.

  • Sid

React-native support

Do you plan on supporting rn?
If so using formol is going to be my default choice on every activity of my life. even cooking

Asynchronously require calendar locales

These dependencies were not found:

* date-fns in ./node_modules/formol/src/async/CalendarField.jsx, ./node_modules/formol/src/async/CalendarFieldLocales.js
* date-fns/locale/fr in ./node_modules/formol/src/async/CalendarFieldLocales.js

To install them, you can run: npm install --save date-fns date-fns/locale/fr

How to apply styles

I've followed the docs here: https://kozea.github.io/formol/?path=/story/home--home

Using like this:

import Formol, {Field} from 'formol'

const onSubmit = ({ login, password }) =>
  doLogin(login, password)

<Formol onSubmit={onSubmit}>
  <Field>Login</Field>
  <Field type="password-strength">Password</Field>
</Formol>

and none of the input styling is there. I checked the repo for CSS files to add, but there is only scss and no compiled css. Since I'm not using scss, I'm not sure how to proceed with using this library.

Select Menu down arrow does not refresh/move list

If you open any of your Select Menu's in your storybook and open the list and start pressing the down arrow, once you get to the end it won't auto load the view of the list items. From what I can tell this is due to React-Window and rendering as the MenuList component for React-Select.

Passworld field style bug are fixed

  • Strength and normal one must have the same width
  • Error message and Strength indicator should not be over and over
  • Eye icon stay inside the field with small screens

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.