forked from jsnbuchanan/crowd-funder-for-time-pwa
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user