Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Releases: gcanti/tcomb-form

v0.4.4

17 Mar 14:36
Compare
Choose a tag to compare
  • Allow removal of nullOption if a default value is set, fix #71
  • Input className customization, fix #76
    1. added a className option to:
      • Textbox
      • Select
      • Checkbox
      • Radio
      • List
      • Struct
    2. handled in Bootstrap's skin:
      • Textbox: add the className to the <input type="text"/> / <textarea/> tag
      • Select: add the className to the <select/> tag
      • Checkbox: add the className to the <input type="checkbox"/> tag
      • Radio: add the className to all the <input type="radio"/> tags
      • List: add the className to the <fieldset/> tag
      • Struct: add the className to the <fieldset/> tag

v0.4.3

07 Mar 18:16
Compare
Choose a tag to compare
  • fix onChange order: after setState

v0.4.2

16 Feb 09:45
Compare
Choose a tag to compare
  • upgrade to tcomb-validation v1.0

v0.4.1

06 Feb 13:05
Compare
Choose a tag to compare
  • fix #65 bug
  • bootstrap skin: lists - if there are no buttons, give items 12 cols

v0.4.0

02 Feb 12:09
Compare
Choose a tag to compare
  • complete rewrite

BREAKING

  • removed t.form.create API, use t.form.Form component instead
  • Renamed options->label to options->legend (structs and lists)
  • changed auto default value to labels, #62
  • Always show placeholders that are set, #61
  • renamed t.form.radio to t.form.Radio

v0.3.1

28 Jan 10:41
Compare
Choose a tag to compare
  • Move react to peerDependencies so multiple versions of React not loaded

v0.3.0

21 Jan 09:16
Compare
Choose a tag to compare
  • added experimental tuple support

v0.3.0-rc2

27 Dec 11:31
Compare
Choose a tag to compare
  • fix bug #40
  • add id option to textbox and select (used for label's htmlFor attribute) #35
  • textbox value: handle white spaces as null #34

BREAKING

  • changed onChange(evt) to onChange(value) #39

v0.3.0-rc1

17 Dec 09:41
Compare
Choose a tag to compare
  • complete code refactoring, fix #8

BREAKING

  • input option is now factory
  • emptyOption option is now nullOption
  • no more "Choose your ..." option in selects
  • no more need for multiple option, use t.form.select with lists of enums instead
  • i17n option is now called transformer
  • horizontal forms must be handled by the style
  • custom input now must be functions with signature: (opts, ctx) -> React Class
  • optgroup has now a label property instead of group

v0.2.3

06 Dec 14:52
Compare
Choose a tag to compare
  • Always add control-label class to labels. Required for example for displaying validation states correctly.