This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
Releases: gcanti/tcomb-form
Releases · gcanti/tcomb-form
v0.4.4
- Allow removal of nullOption if a default value is set, fix #71
- Input className customization, fix #76
- added a
className
option to:Textbox
Select
Checkbox
Radio
List
Struct
- handled in Bootstrap's skin:
Textbox
: add the className to the<input type="text"/>
/<textarea/>
tagSelect
: add the className to the<select/>
tagCheckbox
: add the className to the<input type="checkbox"/>
tagRadio
: add the className to all the<input type="radio"/>
tagsList
: add the className to the<fieldset/>
tagStruct
: add the className to the<fieldset/>
tag
- added a
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.1
v0.3.0
v0.3.0-rc2
v0.3.0-rc1
- complete code refactoring, fix #8
BREAKING
input
option is nowfactory
emptyOption
option is nownullOption
- no more "Choose your ..." option in selects
- no more need for
multiple
option, uset.form.select
with lists of enums instead i17n
option is now calledtransformer
- 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 ofgroup