* fix(module: form): validation attribute transfer
* add missing required parameter to rules
* fix enum validate messages
* fix test
* fix field type
* fix test
* fix test
* fix test
* feat(module: form): add locale for validation message
* replace the placeholder
* replace the validation message with localization
* fix test
* allow user defind attributes
* Revert "fix(module: modal): stete updating (#4022)"
This reverts commit 8e119a9bf5.
Revert "fix(module: modal): throwing exceprion when navigation after open (#4015)"
This reverts commit 49cadeebca.
* fix navigating excepition
* fix some issue again
* fix confirm
* makes deleting the dom safer
* fix test
* fix test
* fix lint
This commit adds the AntInputComponentBase.OnValueChangeAsync method and updates the Select module to use OnParametersSetAsync instead of OnParametersSet with the new OnValueChangeAsync. This change ensures that exceptions thrown from user event callback handlers will be caught as they now have an ambient Task instance to report the exceptions on.
* fix(module: InputNumber): Fix nullable floating types not round with "Precision" set
* test(module: InputNumber): Add test for nullable floating types with Precision
* feat(module: EnumSelect): Support using 'bind-Value' to get or set multiple enumeration values with the Flags attribute. (#3842)
* refactor
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* refactor: Update TextArea.razor.cs
Updated TextAreaInfo to be a public class so that JSInterop calls can be setup for unit tests.
Closes#3714
* refactor: Update TextArea.razor.cs
Remove TextAreaInfo class from TextArea.razor.cs and define in new file with namespace AntDesign.Internal
* refactor: Create TextAreaInfo.cs
Remove TextAreaInfo class from TextArea.razor.cs and define in new file with namespace AntDesign.Internal
* refactor: Update TextArea.razor.cs
Add AntDesign.Internal using statement for TextAreaInfo class
* refactor: Update TextAreaTests.razor
Use the AntDesign.Internal namespace for TextAreaInfo
* Add FilterExpression on select for customize how to filter when searching
* Remove CultureInfo as parameter for filter.
Update example and documentation.
* Change FilterExpression to send the SelectOptionItem instead of the label to have more options to make the search.
* Add test for filterExpression to check is working fine with the default and custom.
When the parent Form has ValidateOnChange = true the OnValueChange method needs to be executed
when OnParametersSet executes in order to set the newly selected
option.
* fix(module: select):add parameter for SelectOption component which should be used when SelectOption was created directly and TItem is different with TItemValue
* feat(module: select): add parameter that support use delegate to set option label and value
* rename XXXGetter to OptionXXXExpression
* rename OptionXXXExpression to OptionXXXProperty
* refactor
* fix tests
* fix test
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix:(module:datepicker): ArgumentOutOfRangeException in TimePicker
* fix the issue
* add: TimePicker unit tests
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module:datepicker): RangePicker focus not cleared
* fix:(module:datepicker): Enter/Tab keys clear the value
* fix:(module:datepicker): remove invalid unit test
* feat(module: ReuseTabs): support separate the tab from the page
* fix event invoke
* disable reuse for pages
* missing ScanReuseTabsPageAttribute
* fix ReusePages in ReuseTabs
* avoid loop ref
* fix:(module:datepicker): OnChange event in Docs project
add(module:datepicker): generic OnPanelChange event
add(module:datepicker): generic OnChange event
fix(module:datepicker): DateTimeKind is not preserved
add(module:datepicker): DateTimeOffset unit tests
add(module:datepicker): add DateTimeOffset to range picker unit tests
add(module:datepicker): refactor unit tests
fix(module:datepicker): DateTime.Kind is not preserved
feat(module: datepicker). Add DateTimeOffset, DateOnly, TimeOnly support
* fix(module:datepicker): unit test fails
* fix: moment helper test fails in VS Test Explorer in some cases
See https://xunit.net/faq/theory-data-stability-in-vs
* update the docs and demo
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* Add support multiple date formats for DatePickerBase
* Fix test
* Extend docs
* Fix merge
* Revert "Add support multiple date formats for DatePickerBase"
This reverts commit 9021dcdd
* Refactoring. Add mask property for DatePickerBase. For input value constraint.
* Some fixes
* Refactoring
* Add value converter for MaskInput
* Some fix
* fix Chinese
* Refactoring
* Fix tests
* Fix tests
* clean up
* Fix tests
* Pass mask to RangePicker
* Fix AvatarTests
* Fix merge
* Stage
* Stabilized tests
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>