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>
|
||||
<input
|
||||
onChange={(event) => {
|
||||
let newFlow = flows[tabIndex];
|
||||
newFlow.name = event.target.value;
|
||||
updateFlow(newFlow);
|
||||
if(event.target.value!=""){
|
||||
let newFlow = flows[tabIndex];
|
||||
newFlow.name = event.target.value;
|
||||
updateFlow(newFlow);
|
||||
}
|
||||
}}
|
||||
type="text"
|
||||
name="name"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue