Skip to content

Commit

Permalink
docs: mark form properties in TextArea, StepInput (#7859)
Browse files Browse the repository at this point in the history
ding these tags to the form related "value" property, used by the ui5-webc-ngx wrappers to properly generate the required value accessors so the ui5-webc-ngx wrappers work in Angular reactive forms.
  • Loading branch information
ilhan007 authored Nov 16, 2023
1 parent feaa199 commit 14c0afc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/main/src/StepInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ class StepInput extends UI5Element implements IFormElement {
*
* @name sap.ui.webc.main.StepInput.prototype.value
* @type {sap.ui.webc.base.types.Float}
* @formEvents change
* @formProperty
* @defaultvalue 0
* @public
*/
Expand Down
4 changes: 3 additions & 1 deletion packages/main/src/TextArea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,11 @@ class TextArea extends UI5Element implements IFormElement {
*
* @type {string}
* @name sap.ui.webc.main.TextArea.prototype.value
* @formEvents change input
* @formProperty
* @defaultvalue ""
* @public
*/
*/
@property()
value!: string;
/**
Expand Down

0 comments on commit 14c0afc

Please sign in to comment.