fix: empty selector attr option

feat/type-attributes
Tomáš Mládek 2023-05-03 23:32:36 +02:00
parent 7bdd0e6e99
commit 048bfc0a3c
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@
.replaceAll(/[^A-Z0-9]/g, "_");
if (
!attributeOptions &&
inputValue &&
!allAttributes.map((attr) => attr.name).includes(attributeToCreate)
) {
options.push({