swiftui-currency-field icon indicating copy to clipboard operation
swiftui-currency-field copied to clipboard

.toolbar -> ToolbarItemGroup(placement: .keyboard) ?

Open maceip opened this issue 1 year ago • 1 comments

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

maceip avatar Jan 17 '23 20:01 maceip