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 }
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>
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 }
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>
Upgrade to Fable 4
Fix #32: Add Form.disable
Lower FSharp.Core requirement
Publish the *.fsi
fiels inside fable
folder
Initial release