• 3.0.0
  • ๐Ÿš€ 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)

  • Make it easier to add custom fields (c99eed9)

    • Field attributes now needs to inherit from IAttributes

    • Refactor Base.fill to explicitly take a values argument instead of returning a lambda

      val fill:
          Form<'Values,'Output,'Field>
          -> 'Values -> FilledForm<'Output,'Field>
      val fill:
          Form<'Values,'Output,'Field> ->
          values: 'Values
          -> FilledForm<'Output,'Field>
  • 3.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)

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

    • Field attributes now needs to inherit from IAttributes

    • Refactor Base.fill to explicitly take a values argument instead of returning a lambda

      val fill:
          Form<'Values,'Output,'Field>
          -> 'Values -> FilledForm<'Output,'Field>
      val fill:
          Form<'Values,'Output,'Field> ->
          values: 'Values
          -> FilledForm<'Output,'Field>
  • 2.0.0Jun 2022
  • Changed
  • Upgrade to Fable 4

  • 1.2.0Jul 2022
  • Fixed
  • Fix #32: Add Form.disable

  • 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