🐛 Decimal Numbers are now possible
This commit is contained in:
@@ -24,7 +24,7 @@ struct AddSubscriptionView: View {
|
||||
ForEach($payments) { $payment in
|
||||
Section(header: Text("Payment")) {
|
||||
HStack {
|
||||
TextField("Amount", value: $payment.amount, formatter: NumberFormatter())
|
||||
TextField("Amount", value: $payment.amount, format: .number)
|
||||
Spacer()
|
||||
Text("\(Currency.euro.description)")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user