y200subcontrols 0.0.328 → 0.0.329

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,7 +56,6 @@ function handleChange(event) {
56
56
  });
57
57
  return;
58
58
  }
59
- console.log(_value);
60
59
  const parts = _value.split("T");
61
60
  const datePart = parts[0].split("-");
62
61
  const year = Number(datePart[0]);
@@ -92,7 +91,7 @@ onMount(() => {
92
91
  {visible}
93
92
  autoApplyCss={true}
94
93
  >
95
- <input
94
+ <input
96
95
  bind:this={input}
97
96
  {disabled}
98
97
  {id}
@@ -50,7 +50,7 @@ onMount(() => {
50
50
  }
51
51
  let elem = inputContainer.querySelector('[data-input="true"]');
52
52
  if (elem) {
53
- elem.dataset.requiresValidation = "true";
53
+ elem.dataset.requiresValidation = required ? "true" : "false";
54
54
  input = elem;
55
55
  elem.addEventListener("change", validateElement);
56
56
  elem.addEventListener("validate--custom", validateElement);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y200subcontrols",
3
- "version": "0.0.328",
3
+ "version": "0.0.329",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",