mirror of
https://github.com/abhay-raizada/PeerScribe.git
synced 2026-04-26 16:24:03 +00:00
Send xml as a message
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user