Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/forms / src / new-forms
  ..
  FieldSet
  forms
  inputs
  OneForm
  plugins
  strategies
  CommonState.ts
  deps.ts
  README.md
  typings.ts
Size: Mime:

forms 3.0

TODO

  • make a copy

  • split up code

  • fix all typings issues

  • need to move renderInput out of Form

    • OneForm?
  • tests

  • add adapter

  • integrate with original forms

  • rename InputProps => ObserverInputProps?

  • rename FormProps => ObserverFormProps?

  • fix casing (issue with form & input vs Form & Input)

  • accessibility

  • docs

    • move the flow out of deprecated to the new flow
    • could use forwardRefs
  • ensure Plugins can (with tests & stories)

    • !! provide custom serialization
      • this is important when we are using multiple inputs and we need to combine them...
    • change validation strategy
    • validate using multiple inputs (like credit card, or confirm password)
    • provide default props
    • provide default props using a fn
    • absorb multiple inputs, even if they are flat (optional, can just pass specific props to it)
  • tests

    • submit
      • test submit if js is disabled (security)
      • test submit with default
      • test submit with custom form state
      • test submit with custom plugin
    • serialization
      • test serialization default
      • test serialization with plugins
      • test serialization custom form state
    • render
      • test passThrough props going to the wrapper & input (they go to the right place)
      • test render using custom plugin
      • test renderWrap
      • test renderInput
      • test renderForm
      • test FormContext consumer
      • test InputContext consumer
      • test rendered styles on validations true & false
    • validation
      • run through validators with test data (don't fill it overly much, ask qa to fill)
      • test plugin validation
  • functionality

    • finish validation strategies
    • check with @anitha to confirm all
  • styles

    • minor helps on the 2 form themes
    • provide themes via context (renderProps via context that is)
  • remove the forms from ui-component-library

    • resolve circular imports
    • create another repo for ui-component-library presets