bond_form 0.0.1+21 bond_form: ^0.0.1+21 copied to clipboard
Form is a Bond package provides a convenient way to handle Form.
0.0.1+21 #
- Added the
RequiredValues
class to ensure required form field values are not null.- Methods added to
RequiredValues
class:textFieldValue
: Ensures the value of a text field is not null.radioGroupValue
: Ensures the value of a radio group field is not null.checkboxGroupValue
: Ensures the first selected value of a checkbox group is not null.dropDownValue
: Ensures the value of a dropdown field is not null.asyncDropDownValue
: Ensures the value of an async dropdown field is not null.
- Methods added to
- Added the
required
extension method toBondFormState
.- Provides an instance of
RequiredValues
to ensure required field values are not null.
- Provides an instance of
- Updated the Dartdoc comments for
XBondFormState
extension.- Provided clear and comprehensive documentation for all methods:
textFieldValue
: Retrieves the value of a text field.radioGroupValue
: Retrieves the value of a radio group field.checkboxGroupValue
: Retrieves the first selected value of a checkbox group.dropDownValue
: Retrieves the value of a dropdown field.asyncDropDownValue
: Retrieves the value of an async dropdown field.required
: Returns an instance ofRequiredValues
to ensure required field values are not null.
- Provided clear and comprehensive documentation for all methods:
- Updated the Dartdoc comments for
XFormController
extension.- Provided clear and comprehensive documentation for all methods:
updateText
: Updates aTextFieldState
with a given value.updateCheckbox
: Updates aCheckboxFieldState
with a given value.updateCheckboxGroup
: Updates aCheckboxGroupFieldState
with a given value.toggleCheckbox
: Toggles the value of a specific checkbox within a checkbox group.updateDate
: Updates aDateFieldState
with a given value.updateDropDown
: Updates aDropDownFieldState
with a given value.updateAsyncDropDown
: Updates aAsyncDropDownFieldState
with a given value.updateRadioButton
: Updates aRadioButtonFieldState
with a given value.updateRadioGroup
: Updates aRadioGroupFieldState
with a given value.
- Provided clear and comprehensive documentation for all methods:
0.0.1+20 #
- fix
IsTrue
andIsFalse
rules to deal with null value.
0.0.1+19 #
- fix
Numeric
rule to deal with null value.
0.0.1+18 #
- new extension methods support dealing with single bool checkbox field.
- fix
AlphaNum
andAlphaDash
rules to deal with null value.
0.0.1+17 #
- fix failure handling at the _onSubmit method.
0.0.1+16 #
- introduce
HasValidationErrors
mixin to update form fields state with the errors that comes from an api. services.
0.0.1+15 #
- add missing method 'updateAsyncDropDown' to
FormController
extension.
0.0.1+14 #
- introduced the async drop down menu field state
AsyncDropDownFieldState
.
0.0.1+13 #
- add more helpers methods inside
BondFormState
extension
0.0.1+12 #
- add clear method to
FormController
mixin
0.0.1+11 #
- add validate method to
FormController
mixin
0.0.1+10 #
- update readme.md file to mention the riverpod integration
0.0.1+9 #
- fix typo on readme.md file
0.0.1+8 #
- update readme.md files
- fix dart analysis issues
0.0.1+7 #
- update example.md and readme.md files
0.0.1+6 #
- fix validation localized message not rendered as excepted
0.0.1+5 #
- extract mixin FormController contains common form logic
0.0.1+4 #
- write public API has dartdoc comments
- fix dart analysis issues
0.0.1+3 #
- add necessary imports to bond form
0.0.1+2 #
- update bond_core dependency.
0.0.1+1 #
- add necessary imports to bond form
0.0.1 #
- initial release.