From 15fd924ea9f9603b6e3a84211f52da56a4a5148d Mon Sep 17 00:00:00 2001 From: caocan Date: Tue, 31 May 2022 16:09:03 +0800 Subject: [PATCH] TextInput support CopyOption Signed-off-by: caocan Change-Id: Idd45d0cdb82af0fd624d1527e4937455a97ecd60 --- compiler/components/search.json | 2 +- compiler/components/textarea.json | 2 +- compiler/components/textinput.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/components/search.json b/compiler/components/search.json index 89d7fad..4e9bfc8 100644 --- a/compiler/components/search.json +++ b/compiler/components/search.json @@ -3,6 +3,6 @@ "atomic": true, "attrs": [ "searchButton", "placeholderColor", "placeholderFont", "textFont", "onSubmit", "onChange", - "onCopy", "OnCut", "OnPaste" + "onCopy", "OnCut", "OnPaste", "copyOption" ] } \ No newline at end of file diff --git a/compiler/components/textarea.json b/compiler/components/textarea.json index 0cdc49e..a2e98a0 100644 --- a/compiler/components/textarea.json +++ b/compiler/components/textarea.json @@ -4,6 +4,6 @@ "attrs": [ "placeholderColor", "placeholderFont", "textAlign", "caretColor", "onChange", "onCopy", "OnCut", "OnPaste", "fontSize", "fontColor", "fontStyle", "fontWeight", "fontFamily", - "inputFilter" + "inputFilter", "copyOption" ] } \ No newline at end of file diff --git a/compiler/components/textinput.json b/compiler/components/textinput.json index 0b4c5d7..4905669 100644 --- a/compiler/components/textinput.json +++ b/compiler/components/textinput.json @@ -4,6 +4,7 @@ "attrs": [ "type", "placeholderColor", "placeholderFont", "enterKeyType", "caretColor", "maxLength", "onEditChanged", "onSubmit", "onChange", "onCopy", "OnCut", "OnPaste", "fontSize", - "fontColor", "fontStyle", "fontWeight", "fontFamily", "inputFilter", "onEditChange" + "fontColor", "fontStyle", "fontWeight", "fontFamily", "inputFilter", "onEditChange", + "copyOption" ] } \ No newline at end of file