mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-09-01 18:35:24 +00:00
Merge branch 'main' into select-db
# Conflicts: # src/i18n/locales/en.js # src/utils/exportSQL/generic.js
This commit is contained in:
@@ -20,8 +20,9 @@ export default function TableField({ data, tid, index }) {
|
||||
<Row gutter={6} className="hover-1 my-2">
|
||||
<Col span={7}>
|
||||
<Input
|
||||
id={`scroll_table_${tid}_input_${index}`}
|
||||
value={data.name}
|
||||
validateStatus={data.name === "" ? "error" : "default"}
|
||||
validateStatus={data.name.trim() === "" ? "error" : "default"}
|
||||
placeholder="Name"
|
||||
onChange={(value) => updateField(tid, index, { name: value })}
|
||||
onFocus={(e) => setEditField({ name: e.target.value })}
|
||||
|
Reference in New Issue
Block a user