You need to sign in to do that
Don't have an account?
Marco Schmit
ui:input not updating when used within aura:iteration
Hi,
I just ran into an issue using ui:textInput within aura:iteration
so when I type something in the input box and leave it, the output should change too, shouldnt it?
Any help?
Thanks!
I just ran into an issue using ui:textInput within aura:iteration
<aura:attribute name="test" type="String[]" default="test1, test2"></aura:attribute> <aura:iteration items="{!v.test}" var="t"> {!t} <ui:inputText value="{!t}"></ui:inputText> </aura:iteration>
so when I type something in the input box and leave it, the output should change too, shouldnt it?
Any help?
Thanks!
I think you will have to assign Aura id and on particular event you have to update component attribute with values of input box.
For example: <ui:inputText value="{!item.value}" updateOn="keyup" />
I have the same issue.
Have you find a solution to this problem ?
Thanks for your help.
Antoine
Example:
doing this worked for me. I hope it helps ;)