ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

How you can bind <ui5-input> value property when using origami in angular

Open nchondromatidis opened this issue 2 years ago • 2 comments

Issue Description

I a using ui5 in angular, I followed the instructions, forms work with origami, but I cannot bind to some attributes, for example ui-5input.value does not work neither with [value]=... nor with [attr.value]=... I think there should be an example on how to accomplish that.

Issue Type

  • [ ] Documentation is unclear
  • [ ] Documentation is incorrect
  • [x] Documentation is missing
  • [ ] Other

nchondromatidis avatar Jun 24 '22 13:06 nchondromatidis

Hello @nchondromatidis did you try

<ui5-input [(ngModel)]="value" origami></ui5-input>

as suggested in the docs.

ilhan007 avatar Jun 27 '22 04:06 ilhan007

I am referring to: how I could add a value property to ui5-input in angular html template , these do not work:

<ui5-input origami [value]="myValue"> 
<ui5-input origami [attr.value]="myValue">

nchondromatidis avatar Jun 27 '22 09:06 nchondromatidis

Hi @nchondromatidis,

Could you please share more about your use case? Do you want to bind to specific attribute, not only for value?

nnaydenow avatar Aug 24 '22 09:08 nnaydenow

Hi,

I'm closing the issue since there is no response with more information about the issue.

nnaydenow avatar Feb 23 '23 14:02 nnaydenow