Fable.Form.Simple 5.0.0-beta-002

This is a prerelease version of Fable.Form.Simple.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Fable.Form.Simple --version 5.0.0-beta-002                
NuGet\Install-Package Fable.Form.Simple -Version 5.0.0-beta-002                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fable.Form.Simple" Version="5.0.0-beta-002" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fable.Form.Simple --version 5.0.0-beta-002                
#r "nuget: Fable.Form.Simple, 5.0.0-beta-002"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fable.Form.Simple as a Cake Addin
#addin nuget:?package=Fable.Form.Simple&version=5.0.0-beta-002&prerelease

// Install Fable.Form.Simple as a Cake Tool
#tool nuget:?package=Fable.Form.Simple&version=5.0.0-beta-002&prerelease                

Contains the global logic of how a form should behave.

It can be used has a standalone library if you want to build your own fields or
you can use Fable.Form.Simple.Bulma to have a ready to use fields made for Bulma CSS framework.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Fable.Form.Simple:

Package Downloads
Fable.Form.Simple.Bulma

React implementation of standard fields using Bulma CSS framework, to be used with Fable.Form.Simple.

Fable.Form.Simple.MaterialUI

This library is a Material UI implementation of Fable.Form.Simple written in F#.

Fable.Form.Simple.Sutil.Bulma

Sutil implementation of standard fields using Bulma CSS framework, to be used with Fable.Form.Simple.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.1 159 10/20/2024
5.0.0-beta-003 146 9/9/2024
5.0.0-beta-002 128 9/9/2024
5.0.0-beta-001 110 9/8/2024
4.1.0 2,060 1/3/2024
4.0.0 529 6/23/2023
3.1.0 4,068 7/12/2022
3.0.0 968 3/28/2022
2.1.0 1,237 11/16/2021
2.0.0 1,128 10/15/2021
1.1.0 1,497 6/7/2021
1.0.1 437 5/11/2021
1.0.0 412 5/11/2021

# Changelog

All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- EasyBuild: START -->
<!-- last_commit_released: 02e31e6fa32f3722da8868ae0b18d34fa1ea68f7 -->
<!-- EasyBuild: END -->

## 5.0.0-beta-002

### 🚀 Features

* Add support for `ReadOnly` form/field ([02e31e6](https://github.com/glutinum-org/cli/commit/02e31e6fa32f3722da8868ae0b18d34fa1ea68f7))

   1. Set it at the field level

       ```fsharp
       Form.textField
           // ...
           |> Form.readOnly

       // or

       Form.textField
           // ...
           |> Form.readOnlyIf myCondition
       ```

   2. Set it at the form level

       ```fsharp
       let formValue : Form.View.Model<Values> = // ...

       { formValue with State = Form.View.State.Loading }
       ```

## 5.0.0-beta-001

### 🚀 Features

* Make it easier to add custom fields ([e4b8ea8](https://github.com/glutinum-org/cli/commit/e4b8ea8bb4b814c932a9ad3996cd0f554435373c))

   `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.0 - 2024-02-03

### Added

* Add `FileField` (by @amine-mejaouel) ([GH-43](https://github.com/MangelMaxime/Fable.Form/pull/43))

## 4.0.0 - 2022-06-23

### Changed

* Upgrade to Fable 4 and Feliz 2

## 3.1.0 - 2022-07-12

### Fixed

* Fix #32: Add `Form.disable`

## 3.0.0 - 2022-03-28

### Changed

* Fix #24: Allows to customise the actions of the form.

   Here is how to migrate your old code:

   ```diff
       {
           Dispatch = dispatch
           OnChange = FormChanged
   -       Action = "Sign in"
   +       Action = Form.View.Action.SubmitOnly "Sign in"
           Validation = Form.View.ValidateOnSubmit
       }
   ```

## 2.1.0 - 2021-11-16

### Added

* Fix #28: Add `Form.optional`

## 2.0.0 - 2021-10-15

### 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.0 - 2021-06-07

### Changed

* Lower FSharp.Core requirement

## 1.0.1 - 2021-05-11

### Fixed

* Publish the `*.fsi` fiels inside `fable` folder

## 1.0.0 - 2021-05-11

### Added

* Initial release