In Power Apps:
- Default is only used when the control loads
- When the user types, the Default value is no longer used
- If the record changes, Default does not refresh automatically
- Dropdown and TextInput do not auto-sync
So this formula alone is not enough:
TextInput2.Default = DataCardValue7.Selected.Value
Correct and recommended solution
Step 1: Create a variable to keep values in sync
In DataCardValue7.OnChange:
Set(varDetalle, DataCardValue7.Selected.Value)
This stores the selected value in a variable.
Step 2: Use the variable in TextInput2
Set TextInput2.Default property as follows:
If(
IsBlank(varDetalle),
ThisItem.Detalles,
varDetalle
)
This means:
If nothing is selected yet, show the saved Detalles
If a value is selected in the dropdown, show it
Step 3: Update the variable when typing in TextInput2
Set TextInput2.OnChange
Set(varDetalle, TextInput2.Text)
Now TextInput2 and DataCardValue7 stay synchronized.
Step 4: Save the value correctly
In your Save button (recommended) or form submit:
Patch(
StatusTicket,
ThisItem,
{ Detalles: varDetalle }
)
This ensures the final text (whether selected or typed) is saved.
Important best practices
Do NOT use Patch in TextInput.OnChange unless absolutely needed
Always save data in one place (Save button or Form Submit)
Use variables to sync multiple controls
Dropdowns do not automatically update TextInputs
✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
👍 Feel free to Like the post if you found it useful.