- type file for typescript
- Name of withFormSate
- Skipped test for select!!!
- Select to use new ref interface
- License
- Issue with @babel/runtime was the dep when it should have ben @babel/runtime-corejs2
- Issue with @babel/runtime for real this time
- Issue with @babel/runtime
- mistakenly added dev deps that were deps... oops
- submits to the form state
- Added prettier so all the files have been changed... so i rebuilt to have source maps match code
- Attempting to simply rebuild lib due to possible build issue
- initialValue to get exposed as prop to custom fields
- Source maps
- Issue where Basic radio group was not getting exported
- issue where bind to field did not pass down the field prop.
- Issue where element wont get removed from array when deregistering field... this is used when dynamically removing value
- Field prop is now exposed to field elements and default inputs pass field as name to html inputs
- fieldExists method to the formApi
- onValueChange prop to inputs so you can tie into when values change!!
- Issue where prop changes to fields would not get recognized
- issue where i forgott to add @babel/runtime as dependency
- asyncValidation prop to inputs
- asyncValidateOnBlur prop to inputs
- Basic input fields so users can more easily create custom inputs
- Docs for creating custom inputs
- issue where you could not nest scope
- issue where you could not pass initialValue=false to checkbox
- issue where mutable values were getting passed to onSubmit and getState
- issue where path array was being build every get and set
- issue where onChange was getting passed to internal form element
- globalObject: 'this' to the webpack dist config to support SSR
- Issue with event emitter limit ( need to look into alternative solution )
- Removed depricated sandbox sinon usage that was causing errors during tests
- Webpack dist configuration to keep class names
- Issue were initialValue was getting passed all the way down to html input
- Issue where form would not rerender when field was registered
- Issue were validateOnMount was getting passed all the way down to html input
- mask so you can mask values at field level. example
value => value + '!!!'
- hook so you can add a button with type=reset and it will reset the form
- validateOnMount to input props
- React and React-Dom to dev dependencies
- Bug where i did not do null check on event within on submit
- Notify prop to inputs that allows you to notify other fields when your error state changes ( see docs )
- Text
- TextArea
- Radio Group
- Radio
- Select
- Select as Multiselect !!!
- Checkbox
- withRadioGroup
- withFieldApi
- withFieldState
- withFormApi
- withFormState
- asField
- Form
- Field
**
Note: this was the first release but i wanted to include changes from
react-form so here they are:
**
formApiwas split into two partsformApi( contains just functions )formState( contains just form state )- Form level validation is gone. You do all validation via field validation.
defaultValuesForm prop is now calledinitialValuesonChangeForm prop only recieves theformState. It used to retrieve the form Api as well.preventDefaultForm prop is nowdontPreventDefaultgetApiForm prop just returns the formApi, not the state and the api.Formcomponent now renders theformelement internally. So you dont have to "hook it up" anymore!!
**
Note: this was the first release but i wanted to include things that were removed from
react-form so here they are:
**
NestedFieldyou can useScopeinstead but all it does is scope internal fields toscope="your-scope"- validateOnSubmit was removed. Now the form always validates on submit by default and you can opt into sooner validation at field level.
defaultValuesform prop is now calledinitialValuespureForm prop. Its not needed anymore due to the use ofReact.PureComponentinternally.- add, remove, and swap values. The developer can achive this on there own without the use of internal functionality.
- Array Syntax. In order to keep things simple we now only support the string syntax for field names.
- Async Validation. Async validation led to many issues that overcomplicated
react-form. We determined this is something that the developer could achive on there own for now but we may look into adding this in the future. - Warning and Success have been removed for now to keep lib lean but we may add additional functions in the future.