Fix automatic field population in space create menu not validating
This commit is contained in:
parent
f9e17621af
commit
4a470e4341
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ export const SpaceCreateForm: React.FC<ISpaceCreateFormProps> = ({
|
|||
const newName = ev.target.value;
|
||||
if (!alias || alias === nameToAlias(name, domain)) {
|
||||
setAlias(nameToAlias(newName, domain));
|
||||
aliasFieldRef.current.validate({ allowEmpty: true });
|
||||
}
|
||||
setName(newName);
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue