@cocreate/element-prototype
Advanced tools
Comparing version 1.20.0 to 1.20.1
@@ -0,1 +1,9 @@ | ||
## [1.20.1](https://github.com/CoCreate-app/CoCreate-element-prototype/compare/v1.20.0...v1.20.1) (2024-02-05) | ||
### Bug Fixes | ||
* insert select options from src file ([7b644e1](https://github.com/CoCreate-app/CoCreate-element-prototype/commit/7b644e10368ca21f4e478c2b333759430b466ef2)) | ||
* Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([144d3e0](https://github.com/CoCreate-app/CoCreate-element-prototype/commit/144d3e0c0996f52022f89d404d785d08a1762cfc)) | ||
# [1.20.0](https://github.com/CoCreate-app/CoCreate-element-prototype/compare/v1.19.0...v1.20.0) (2024-02-03) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "@cocreate/element-prototype", | ||
"version": "1.20.0", | ||
"version": "1.20.1", | ||
"description": "A simple element-prototype component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -36,3 +36,4 @@ import { getAttributes } from '@cocreate/utils'; | ||
if (el.tagName == 'INPUT' || el.tagName == 'TEXTAREA' || el.tagName == 'SELECT') { | ||
// TODO: el.options vs rendenring options from src | ||
if (el.tagName == 'INPUT' || el.tagName == 'TEXTAREA' || el.tagName == 'SELECT' && el.options.length) { | ||
let { isCrdt } = getAttributes(el) | ||
@@ -39,0 +40,0 @@ if (isCrdt == null || isCrdt == undefined) |
Sorry, the diff of this file is not supported yet
129513
536