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 myConditionSet 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.succeedForm.appendForm.disableForm.andThenForm.optionalForm.textFieldForm.passwordFieldForm.colorFieldForm.dateFieldForm.dateTimeLocalFieldForm.numberFieldForm.searchFieldForm.telFieldForm.timeFieldForm.emailFieldForm.textareaFieldForm.checkboxFieldForm.radioFieldForm.selectFieldForm.fileFieldForm.groupForm.sectionForm.fillForm.rec mapFieldValuesForm.listForm.metaForm.mapValuesAdd 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:
ColorDateDateTimeLocalEmailNumberSearchTelTimeAllow 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