James Yeung
04b4b47b94
fix(module: form): validation attributes transfer ( #4084 )
...
* 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
2024-08-12 10:02:56 +08:00
三寸月光
d6d45054be
feat(module: form): Add support to set ValidationMessages. ( #4014 )
...
* fix(module: form): invoke BuildEditContext,but formitem's CurrentEditContext is not update (#4013 )
* feat(module:form): Add support to update model's ValidationMessages. (#4006 )
* refactor
* update demo
* update demo
* fix test
---------
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-06 23:13:28 +08:00
James Yeung
1bb97814ca
feat(module: form): using built-in i18n for validation message ( #4058 )
...
* feat(module: form): add locale for validation message
* replace the placeholder
* replace the validation message with localization
* fix test
* allow user defind attributes
2024-08-05 16:28:39 +08:00
James Yeung
2286639039
fix(module: tabs): update the style of ink after tab title is changed ( #3978 )
...
* fix(module: tabs): update the style of ink after tab title is changed
* fix test
* fix test
* fix test
* fix test
* fix tests
2024-07-15 08:29:01 +08:00
agolub-s
22a71d319e
fix(module: form): fix null reference exception ( #3967 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-07-11 13:48:25 +08:00
James Yeung
09cf07439f
fix(module: form): cause exception while has no FieldIdentifier ( #3717 )
...
* fix(module: form): cause exception while has no FieldIdentifier
* clean
2024-03-09 17:28:17 +08:00
James Yeung
54d821e6ec
fix(module: input): fix incorrectly validation and required message ( #3474 )
...
* fix(module: input): fix incorrectly validation and required message
* add tests
2023-10-29 16:34:02 +08:00
agolub-s
8e60219b35
feat(module: datepicker): add mask to DatePickerBase for input value constraint ( #3120 )
...
* 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>
2023-10-05 17:24:16 +08:00
Key Roche - WSS
67eff2b4e8
feat(module: Form): Add RequiredMark to Form ( #2930 )
...
* Add RequiredMark to Form
* Add localization for form optional label
* fix locales
* fix test
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2022-12-15 14:02:45 +00:00
James Yeung
e4834ed1da
add target to .NET 7 ( #2810 )
...
* docs: update .NET7 RC2
* fix target framework
* update to .net 7 GA
* update yaml
* fix wasmhost
* update document
2022-11-10 16:00:11 +08:00
GHMonad
a66fd06722
fix(module: form): Fix FieldIdentifier equality check in Rules Mode OnFieldChanged ( #2400 )
...
* Fix FieldIdentifier equality check in Rules Mode OnFieldChanged
* Added test for RulesMode validation with duplicate FieldName
* Aligned whitespaces with repo
Co-authored-by: György Hingyi <ghingyi@gmail.com>
2022-04-30 18:35:57 +08:00
Andrzej Bakun
d843898cb8
tests: clean-up ( #2050 )
...
* tests: clean-up
* tests: missed warnings & exceptions fix
* build: comments fix
* docs: xml comments fixed to stop warnings
2021-10-22 12:45:00 +08:00
笨木头
ec45abc4d7
feat(module: form): support set validation rules on FormItem ( #1516 )
...
* feat(module: form): support set validation rules on FormItem(not complete yet)
* refactor(module: form): optimized code
* feat(module: form): support Whitespace rule
* feat(module: form): support [message、pattern、transform、validator、whitespace] rules
* feat(module: form): support type rule
* feat(module: form): support [defaultField、oneOf、fields、type] rules
* feat(module: form): support custome validate messages(without test)
* test(module: form): complete RuleValidate_ValidateMessages test
* feat(module: form): complete DynamicRule demo, refactor code, fix bugs
* feat(module: form): support ValidateMessages param
* doc(module: form): add "Rules" and "ValidateMessages" docs
* fix: Rule.Max's errorMessage is wrong
* refactor: rename Rule to FormValidationRule
* test: rename Rule to FormValidationRule
* chore: refactor code and rename classes
* Update ValidateMode.razor
* Update FormValidateErrorMessages.cs
* Update FormValidateHelper.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-28 09:08:42 +00:00
Andrzej Bakun
2d36dd4081
feat:(module: form): edit context dynamic change ( #1504 )
...
* tests: project up to standards
* fix(module:form): allow EditContext change
2021-05-11 11:13:14 +08:00