-
|
Is it possible to set a TextInput field that is outside of a repeater in the same form? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hey, you can Imagine we had a component with the state path
So in your case, you probably want something like |
Beta Was this translation helpful? Give feedback.
Hey, you can
$setor$getoutside of a repeater component by setting the final parameter to betrue. This enables "absolute" state paths instead of those relative to the current component.Imagine we had a component with the state path
data.repeater.item1.first_name:$get('last_name')would return the value ofdata.repeater.item1.last_name$get('data.title', true)would return the value ofdata.title, notdata.repeater.item1.data.titleSo in your case, you probably want something like
$set('data.FIELD_NAME', $value, true).