fix: empty selector attr option

This commit is contained in:
Tomáš Mládek 2023-05-03 23:32:36 +02:00
parent 7bdd0e6e99
commit 048bfc0a3c

View file

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