Skip to content

1.4.0

Compare
Choose a tag to compare
@jquense jquense released this 24 Oct 22:01
· 1140 commits to master since this release

Adds the concept of controlled and uncontrolled inputs. Like the basic <input/> <select/> etc inputs react-widgets can now leave value management to the widget (not sure why you would). More importantly other prop/handler pairs that were not managable externally now can be!

All controllable properties, have a sister prop default[Name], that allows setting of an initialization value, e.g. defaultOpen

  • value/onChange can now be left empty and the widget will handle the state internally for all widgets
  • open/onToggle can now be controlled for Select, DropdownList, Combobox and DateTimePickers
  • search/onSearch for the Select widget; allowing custom filtering behavior

bunch of bugs squashed!