Textfield with both a formatter and axis

Hi, is there any textfield init with both formatter and axis for multiline? I notice the there are both an init to include a formatter like so: init(_:value:formatter:prompt:) and another one to include an axis for multiline like so: init(_:text:prompt:axis:). Is there any that can be used to set both of them? If not, is there any workaround? Because I happen to need both of them.

Thank you.

You should be able to use one of the init (e.g., axis) and then set up the format with modifiers.

See if this can help: https://mehmetbaykar.com/posts/swiftui-textfield-axis-and-format/

Textfield with both a formatter and axis
 
 
Q