swiftui-currency-field
swiftui-currency-field copied to clipboard
.toolbar -> ToolbarItemGroup(placement: .keyboard) ?
great work, love this repo!
I would like to extend it by adding a toolbar to the top of the keyboard. Is there a preferred way to do this?
When I try
CurrencyField(value: $value).toolbar {
ToolbarItem(placement: .keyboard) {
Button("Click me!") {
print("Clicked")
}
}
}
nothing is displayed