blocked empty name
This commit is contained in:
parent
6fbda135ba
commit
e9367fa90c
1 changed files with 5 additions and 3 deletions
|
|
@ -95,9 +95,11 @@ export default function ExportModal() {
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
|
if(event.target.value!=""){
|
||||||
let newFlow = flows[tabIndex];
|
let newFlow = flows[tabIndex];
|
||||||
newFlow.name = event.target.value;
|
newFlow.name = event.target.value;
|
||||||
updateFlow(newFlow);
|
updateFlow(newFlow);
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
type="text"
|
type="text"
|
||||||
name="name"
|
name="name"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue