input box trans

This commit is contained in:
Gabe Yuan
2023-09-15 17:25:58 +08:00
parent e7a57ad3b2
commit 938c123412
5 changed files with 153 additions and 95 deletions

View File

@@ -64,7 +64,6 @@ function RuleFields({ rule, rules, setShow, setKeyword }) {
const {
pattern,
selector,
inputSelector = "",
translator,
fromLang,
toLang,
@@ -179,17 +178,6 @@ function RuleFields({ rule, rules, setShow, setKeyword }) {
onFocus={handleFocus}
multiline
/>
<TextField
size="small"
label={i18n("input_selector")}
helperText={i18n("input_selector_helper")}
name="inputSelector"
value={inputSelector}
disabled={disabled}
onChange={handleChange}
onFocus={handleFocus}
multiline
/>
<Box>
<Grid container spacing={2} columns={12}>