App Intents string type parameter in Shortcut app can't change keyboard

Here is my code :

struct NoteIntent: AppIntent {
    // 3
    static var title: LocalizedStringResource = "Write memo"
    static var openAppWhenRun: Bool = false
    // 4
    @Parameter(title: "Input")
    var input: String?

    // 5
    @MainActor
    func perform() async throws -> some  ProvidesDialog & IntentResult {
        guard let providedPhrase = input else {
            InputViewModel.shared.firstSiriNote = nil
            throw $input.needsValueError( "Write something")
        }

        return .result(dialog: IntentDialog("👏🏻Success!"))
    }
    
    static var parameterSummary: some ParameterSummary {
        Summary("\(\.$input)")
    }
    
}

My problem is that in Shortcut app input sting parameter only call default keboard,i can't switch third part keyboard or other launguge type

Any idea ? Guys , I come to this question too 🥹

i have this problem too

I solved the problem, add inputOptions for @Parameter.

@Parameter(title: "text", inputOptions: String.IntentInputOptions(
        keyboardType: .default
    ))
 var text: String
App Intents string type parameter in Shortcut app can't change keyboard
 
 
Q