• 5.0.1
  • ๐Ÿž bug fixes
  • Fix package to correctly include sources files (18251a5)

  • 5.0.0
  • ๐Ÿž bug fixes
  • Clean up non needed generics declared on Field classes (e2c13b9)

  • ๐Ÿš€ features
  • Mutualise Field definition via Fable.Form.Simple.Fields.Html + Introduce pipeline builder API (ef6c8fb)

  • Add supports for concrete type in Select/Radio fields (08d3531)

  • Make Fable.Form.Simple renderer agnostic (5431f94)

  • Remove Elmish dependency (b9f869c)

  • 5.0.0-beta-003Sep 2024
  • ๐Ÿž bug fixes
  • Fix Fable.Form dependency version

  • 5.0.0-beta-002Sep 2024
  • ๐Ÿš€ features
  • Add support for ReadOnly form/field (02e31e6)

    1. Set it at the field level

      Form.textField
          // ...
          |> Form.readOnly
      
      // or
      
      Form.textField
          // ...
          |> Form.readOnlyIf myCondition
    2. Set it at the form level

      let formValue : Form.View.Model<Values> = // ...
      
      { formValue with State = Form.View.State.Loading }
  • Add Form.disableIf (28337d9)

  • 5.0.0-beta-001Sep 2024
  • ๐Ÿš€ features
  • Make it easier to add custom fields (533c062)

  • It is now easy to create custom form fields.

    The drawback right now is that customising only the view requires a little more work than before. But I think the trade-off is worth it.

    Before, people needed to fork Fable.Form.Simple and Fable.Form.Simple.Bulma to add custom fields. Now, they just need to implements IField API and it is done.

    • Define how fields are represented thanks to the IField, StandardRenderFieldConfig, IStandardField, IGenericField and more.

    • Add FieldId to most of field attributes because using only the label to detect field error don't guarantee a unique result.

      For example, you can have two fields with a label "FirstName". Thanks to the field id you do "firstname-student" and "firstname-teacher"

    • Export removed Form.xxx functions from Fable.Form.Simple making transition to 2.0 easy

      • Form.succeed
      • Form.append
      • Form.disable
      • Form.andThen
      • Form.optional
      • Form.textField
      • Form.passwordField
      • Form.colorField
      • Form.dateField
      • Form.dateTimeLocalField
      • Form.numberField
      • Form.searchField
      • Form.telField
      • Form.timeField
      • Form.emailField
      • Form.textareaField
      • Form.checkboxField
      • Form.radioField
      • Form.selectField
      • Form.fileField
      • Form.group
      • Form.section
      • Form.fill
      • Form.rec mapFieldValues
      • Form.list
      • Form.meta
      • Form.mapValues
  • 4.1.0Feb 2024
  • Added
  • Add FileField (by @amine-mejaouel) (GH-43)

  • 4.0.0Jun 2022
  • Changed
  • Upgrade to Fable 4 and Feliz 2

  • 3.0.0Mar 2022
  • Added
  • Fix #24: Allows to customise the actions of the form.

  • 2.0.0Oct 2021
  • Added
  • Add support for more field type:

    • Color
    • Date
    • DateTimeLocal
    • Email
    • Number
    • Search
    • Tel
    • Time
  • Allow to pass any attributes to an input field using the new HtmlAttributes property

  • 1.1.0Jun 2021
  • Changed
  • Lower FSharp.Core requirement

  • 1.0.1May 2021
  • Fixed
  • Publish the *.fsi fiels inside fable folder

  • 1.0.0May 2021
  • Added
  • Initial release