Peter Ha
511d904cf7
feat(module: input): adds required attribute to input elements. ( #3383 )
...
* feat(module:input) adds required attribute to input elements.
when a form variable is decorated with the required validation, the required attribute is added to the input html
no breaking changes
* changed public to internal
* changed public to internal
* fixed null exception
---------
Co-authored-by: Peter Ha <peter.ha@roininconsulting.net>
2023-08-05 14:12:37 +08:00
James Yeung
7033ccbac6
refactor(module: form): expose the feedback status of FormItem for the input component base class. ( #3227 )
2023-04-17 22:13:32 +08:00
James Yeung
95c4f13aa4
fix(module: form): validation status styles ( #3005 )
...
* fix(module: form): validation status styles
* fix validation change for input
* fix count
* add test
2023-01-13 23:27:35 +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
Alan.Liu
f8e3fe159d
fix(module: form): remove FormItem
from Form
when it was disposed ( #1901 )
2021-08-31 22:46:15 +08:00
anranruye
16654f5b51
Merge 0.8.4 to feature
2021-07-18 00:04:11 +08:00
anranruye
a06fd5c2e5
fix(module: form): fix input components inside customized form control ( #1662 )
2021-06-24 12:18:18 +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
unsung189
b68e70fd76
feat(module: form): Form lable supports left alignment ( #1292 )
...
* feat: Form lable supports left alignment
* Update and rename components/grid/Col.razor.cs to 组件/格网/Col.razor.cs
* Delete Col.razor.cs
* no message
* PR:1292
* typo LabelAlign
* add the property in Col instead FormItem
* clean code
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-02 23:13:44 +08:00
TimChen
75d0d4c569
feat(module: form): add ValidateOnChange parameter ( #920 )
...
* feat: autoValidate
* refactor
* fix comments
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-12-25 12:51:55 +08:00
笨木头
78abff551d
feat(module: form): add form-context demo, support FormProvider ( #362 )
...
* feat(module: form): add form-context demo, support FormProvider
* refactor: remove debug code
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-16 08:56:15 +08:00
RVS
04166ba276
feat(module: form): add IsModified
property ( #327 )
...
* feat: is form modified property and method exposed
subject: new method for form context, Is form modified
* fix: interface and doc
Co-authored-by: Ratomir Vukadin <ratomirvu@maestralsolutions.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-12 00:17:02 +08:00
James Yeung
840137bedc
feat(module: form): add validate method to form ( #217 )
2020-06-11 23:11:55 +08:00
笨木头
78a08fbd3d
feat(module: input components): support set size by form ( #191 )
...
* feat(module: input components): support set size by form
* fix: rebase conflict
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-07 00:47:18 +08:00
James Yeung
0b75473db0
refactor: remove the form item dependency ( #171 )
2020-06-02 07:28:06 +08:00
笨木头
c3b0b114e6
feat: add form(basic features) ( #168 )
...
* feat: add form(not complete yet)
* feat: add form(basic)
* refactor: change namespace
* feat(module: form): add onFinish, onFinishFailed, reset
* feat(module: form): add layout demo
* feat(module: form): update doc
* refactor: basic form
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-01 14:09:28 +08:00