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

  • 5.0.0
  • ๐Ÿž bug fixes
  • Clean PackageTags (4063ed2)

  • ๐Ÿš€ features
  • 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 }
  • 5.0.0-beta-001Sep 2024
  • ๐Ÿš€ features
  • Make it easier to add custom fields (e4b8ea8)

  • Fable.Form.Simple is now field agnostic. It only contains logic on how a Form should be represented and how it behaves.

    • Change Form.View.custom to take an additional renderForm and renderField functions
    • Remove all Form.xxx functions (they moved to Fable.Form.Simple.Bulma)
      • 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.1.0Jul 2022
  • Fixed
  • Fix #32: Add Form.disable

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

  • Here is how to migrate your old code:

        {
            Dispatch = dispatch
            OnChange = FormChanged
    -       Action = "Sign in"
    +       Action = Form.View.Action.SubmitOnly "Sign in"
            Validation = Form.View.ValidateOnSubmit
        }
  • 2.1.0Nov 2021
  • Added
  • Fix #28: Add Form.optional

  • 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