* 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
* 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>
* fix(module: tabs): Add support for "Enter" pressed on tab.
* Fix formatting.
* Remove white space
* support arrow key navigating
* fix tests
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: tree): skip `ToList()` when type is `IList`
This allow DataSource to be modify by TreeNode draggable methods.
* test(module: tree): add test for TreeNode modify DataSource
* Fix: Add `type="button"` to Drawer close button.
Without this close button triggers form submit if drawer is defined within form.
* Fix tests
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
Co-authored-by: Dmitri Afanasjev <dafanasjev@microsoft.com>
* feat(module: mentions): Add ability to customize the rendering of the textarea. This allows using the TextArea component if you want its extended functionality. Add tests. Update demos.
* fix test
* fix test
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>