Fix package to correctly include sources files (18251a5)
Clean PackageTags
(4063ed2)
Fix Fable.Form
dependency version
Add support for ReadOnly
form/field (02e31e6)
Set it at the field level
Form.textField
// ...
|> Form.readOnly
// or
Form.textField
// ...
|> Form.readOnlyIf myCondition
Set it at the form level
let formValue : Form.View.Model<Values> = // ...
{ formValue with State = Form.View.State.Loading }
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.
Form.View.custom
to take an additional renderForm
and renderField
functionsForm.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
Add FileField
(by @amine-mejaouel) (GH-43)
Upgrade to Fable 4 and Feliz 2
Fix #32: Add Form.disable
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
}
Fix #28: Add Form.optional
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
Lower FSharp.Core requirement
Publish the *.fsi
fiels inside fable
folder
Initial release