Comments (5)
Glad you've been finding this package handy!
Go ahead and fork! I'd be interested to see what's involved. You're right, I ought to create a branch for Bootstrap 4.
I guess you've seen the Bootstrap 4 migration guide for forms?
I'm not sure about what to support once Bootstrap 4 comes out -- my current thinking is that once Bootstrap 4 is released we'll put the Bootstrap 3 code into maintenance mode and make a major release supporting Bootstrap 4. From then on new features will be Bootstrap 4 only. I'm thinking It would be best to avoid flags to switch rendering between Bootstrap 3 and 4.
The older version will obviously still work with Bootstrap 3 and may get some patch updates, but I'm not really keen on supporting 2 versions of Bootstrap simultaneously.
from formsy-react-components.
Hello again, I finally got around to putting this together. (https://github.com/afgarcia86/formsy-react-components). I also updated the playground so that it would be easier to test.
Notes:
- I actually made the label optional, basically I wanted the elementOnly however I wanted it wrapped in the "form-group" which is actually required for the validation classes I believe
- I removed the icon from input since its now added with CSS, however I also removed it from the file input since I don't think it really added much there.
from formsy-react-components.
Hi @afgarcia86, looks good. I've created a new branch for Bootstrap 4 development (bootstrap-4-dev
). If you like and at your convenience, you can create a PR and I'll merge it in.
Your notes are noted! I'm thinking of dropping the elementOnly
layout, so think just not rendering the label if it isn't provided is okay. Nuking the icon is fine.
from formsy-react-components.
Hi @twisty @afgarcia86,
I've been trying to use the branch because I'm using bootstrap v4.
After installing through
yarn add https://github.com/twisty/formsy-react-components.git#bootstrap-4-dev
I see the following error :
Module not found: Error: Can't resolve 'formsy-react-components'
Field 'browser' doesn't contain a valid alias configuration
I'm using :
[email protected]
[email protected]
[email protected]
Please, advise, thanks !
from formsy-react-components.
FF on this. How are we going to use the formsy for bootstrap 4? thanks!
from formsy-react-components.
Related Issues (20)
- React 16.1.1, Formsy 1.1: mixins problem HOT 4
- No Negative Numbers in Input HOT 4
- Change label prop to support PropTypes.node HOT 3
- Doubt/Feature: Prevent Select setValue HOT 2
- wrong install documentation ?
- Overriding icons HOT 1
- React.createElement: Type is invalid when creating a Form HOT 1
- Input component with numeric/alphanumeric/alpha value restriction HOT 2
- Select with numerical values HOT 1
- validatePristine textarea not displaying validation error HOT 4
- render elements within 'form-group'
- onChange is called before the value has been set on formsy
- Does this work with bootstrap 4? HOT 1
- New package release request HOT 2
- Refactor UNSAFE_componentWillReceiveProps
- Build correct releases HOT 5
- Editable input for Select component HOT 2
- Release of 2.0.0 - what remains? HOT 1
- add support for 2.1.0. and higher versions of formsy-react HOT 1
- Publish latest fixes to npm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formsy-react-components.