refactor: convert AmountInput to function props

- Convert AmountInput from @Emit("update:value") to onUpdateValue function prop
- Update GiftDetailsStep to use new function prop interface for amount handling

AmountInput now provides better parent control over validation and updates
This commit is contained in:
Matthew Raymer
2025-07-18 07:10:41 +00:00
parent 0bcf34c703
commit c6b27d55ff
4 changed files with 21 additions and 23 deletions

View File

@@ -44,7 +44,7 @@ Template streamlined with computed CSS properties * * @author Matthew Raymer */
:value="localAmount"
:min="0"
input-id="inputGivenAmount"
@update:value="handleAmountChange"
:on-update-value="handleAmountChange"
/>
<select