Skip to content

Releases: contributte/forms-bootstrap

v0.3

25 Sep 08:34
Compare
Choose a tag to compare

Bump! :feelsgood:

Diff: v0.2.2...v0.3

Changes:

  • BC: removed prompt on selectinput
  • BC: use nette/forms for creating selectbox, now translator works correctly on items and prompt also fixes #24
  • BootstrapForm::$allwaysUseNullable to set all fields as nullable (calls $component->setNullable() for all fields automatically)
  • feature: allow to ommit default placeholder for date/datetime input
  • bugfix when date/datetime empty, return empty value immidiatelly without trying to create datetime object
  • bugfix rendering with method get now works
  • use InputPromptTrait on SelectInput, do validation if prompt can be used
  • allow 0 on items with setPrompts do strict comparisson for "" and null
  • raise phpstan from lvl 4 to lvl7
  • added a lot of unit tests, coverage increased

v0.2.2

03 Jun 20:32
Compare
Choose a tag to compare

Bump! 👆

Diff: v0.2.1...v0.2.2

Changes:

  • bugfix for choice controls when passed items [key => caption] caption not string, now we're allways casting caption to string
  • added more unit tests
  • raised phpstan from lvl 3 to lvl 4
  • code cleanups

v0.2.1

03 Jun 09:48
Compare
Choose a tag to compare

Bump! 🔢

Diff: v0.2...v0.2.1

Changes:

  • compatibility with nette/forms 3.0.4 (BC on nette/forms: nette/forms#241 )

v0.2

07 May 09:35
8da8266
Compare
Choose a tag to compare

Bump! 💪

Diff: 0.1...v0.2

Changes:

  • split datetime control to two date and datetime controls
  • allow to set default date format through static variable on DateInput
  • allow to set default datetime format through static variable on DateTimeInput
  • bootstrap cell can now have multiple controls (specially usefull for multiple buttons) #10
  • bugfix, don't call setItems on MultiselectInput if $items are null
  • allow checkboxes to be alligned with inputs in side by side rendering, use CheckboxInput::$defaultAllignWithInputControls for default through project or $checkbox->setAllignWithInputControls() for specific checkbox
  • allow alligning buttons on right (same as with checkbox defaultAllignWithInputControls & setAllignWithInputControls)
  • bugfix, allow Html on label on text input
  • auto parsing allways mysql date/time format on date(time)input no matter what format it is
  • Fix when keys are not used in choice controls #16
  • added some unit tests
  • raised phpstan lvl

0.1

10 Jan 15:41
f829d7c
Compare
Choose a tag to compare
0.1
  • Nette 3 support