Send xml as a message

This commit is contained in:
Abhay Raizada
2024-04-26 01:54:01 +05:30
parent bd7d7d414d
commit 18f4984f39
5 changed files with 435 additions and 370 deletions

View File

@@ -6,7 +6,7 @@ import RNPickerSelect from "react-native-picker-select"
interface InputFillerProps {
answerType: AnswerTypes;
answerSettings: V1AnswerSettings;
onChange: (answer: string, message?: string) => void;
onChange: (answer: string) => void;
defaultValue?: string | number | boolean;
}
@@ -22,8 +22,8 @@ export const InputFiller: React.FC<InputFillerProps> = ({
e: any
) => {
console.log("E is", e)
setInputValue(e.target.value);
onChange(e.target.value)
setInputValue(e);
onChange(e)
};
const handleValueChange = (value: string) => {