ui5-webcomponents
ui5-webcomponents copied to clipboard
How you can bind <ui5-input> value property when using origami in angular
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
Hello @nchondromatidis did you try
<ui5-input [(ngModel)]="value" origami></ui5-input>
as suggested in the docs.
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">
Hi @nchondromatidis,
Could you please share more about your use case? Do you want to bind to specific attribute, not only for value?
Hi,
I'm closing the issue since there is no response with more information about the issue.