From 76cc271bfc31884c5752f2300a39420ab4ce0d3f Mon Sep 17 00:00:00 2001 From: Martin Massenberg <martin.massenberg@schukai.com> Date: Fri, 28 Jun 2024 10:01:14 +0000 Subject: [PATCH] 20240621 --- CHANGELOG.md | 3 +- development/issues/open/212.html | 26 ++++++++++++++ development/issues/open/212.mjs | 13 +++++++ development/issues/open/224.html | 59 ++++++++++++++++++++++++++++++++ development/issues/open/224.mjs | 23 +++++++++++++ 5 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 development/issues/open/212.html create mode 100644 development/issues/open/212.mjs create mode 100644 development/issues/open/224.html create mode 100644 development/issues/open/224.mjs diff --git a/CHANGELOG.md b/CHANGELOG.md index 309c58750..805f6d8c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog - +## 2024-06-22 +- new options to define the markers that are used for the label template [#203](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/203) ## [3.72.0] - 2024-06-27 diff --git a/development/issues/open/212.html b/development/issues/open/212.html new file mode 100644 index 000000000..6cfe30284 --- /dev/null +++ b/development/issues/open/212.html @@ -0,0 +1,26 @@ + <!DOCTYPE html> + <html lang="en"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>select label is not translated when the value is transferred #212</title> + <script src="./212.mjs" type="module"></script> + </head> + <body> + <h1>select label is not translated when the value is transferred #212</h1> + <p>select label is not translated when the value is transferred</p> + <ul> + <li><a href="https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/212">Issue #212</a></li> + <li><a href="/">Back to overview</a></li> + </ul> + <main> + + <monster-select value="1000" + data-monster-option-url="/issue-212.json" + data-monster-option-mapping-labeltemplate="name" + data-monster-option-mapping-valuetemplate="id" + ></monster-select> + + </main> + </body> + </html> diff --git a/development/issues/open/212.mjs b/development/issues/open/212.mjs new file mode 100644 index 000000000..4795cda05 --- /dev/null +++ b/development/issues/open/212.mjs @@ -0,0 +1,13 @@ + /** + * @file development/issues/open/212.mjs + * @url https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/212 + * @description select label is not translated when the value is transferred + * @issue 212 + */ + + import "../../../source/components/style/property.pcss"; + import "../../../source/components/style/normalize.pcss"; + import "../../../source/components/style/typography.pcss"; + import "../../../source/components/style/link.pcss"; + import "../../../source/components/style/color.pcss"; + import "../../../source/components/form/select.mjs"; diff --git a/development/issues/open/224.html b/development/issues/open/224.html new file mode 100644 index 000000000..2431b9c20 --- /dev/null +++ b/development/issues/open/224.html @@ -0,0 +1,59 @@ + <!DOCTYPE html> + <html lang="en"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>values empty after change #224</title> + <script src="./224.mjs" type="module"></script> + </head> + <body> + <h1>values empty after change #224</h1> + <p>If a value is changed and you change the tab, all other fields are empty + however, the currently changed field is retained</p> + <ul> + <li><a href="https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/224">Issue #224</a></li> + <li><a href="/">Back to overview</a></li> + </ul> + <main> + + <monster-datasource-rest id="ds224" data-monster-option-read-url="/issue-210.json" data-monster-option-write-url="/issue-210" data-monster-option-write-acceptedstatus="400::200" data-monster-option-features-autoinit="true"> + </monster-datasource-rest> + + <monster-dataset data-monster-option-index="0" data-monster-option-datasource-selector="#ds224" data-monster-option-mapping-data=""> + ID: + <div data-monster-replace="path:data.id"></div> + <div data-monster-replace="path:data.name"></div> + </monster-dataset> + + + <monster-dataset data-monster-option-datasource-selector="#ds224" data-monster-option-mapping-data="" data-monster-option-features-mutationobserver="false"> + + <monster-tabs> + <div class="active" data-monster-button-label="Tab1"> + + <label for="id">field id</label><br> + <input id="id" type="number" data-monster-attributes="value path:data.id" data-monster-bind="path:data.id"><br> + <br> + <label for="name">field name</label><br> + <input id="name" data-monster-attributes="value path:data.name" data-monster-bind="path:data.name"><br> + + </div> + <div data-monster-button-label="Tab1"> + + + <label for="id">field id</label><br> + <input id="id" type="number" data-monster-attributes="value path:data.id" data-monster-bind="path:data.id"><br> + <br> + <label for="name">field name</label><br> + <input id="name" data-monster-attributes="value path:data.name" data-monster-bind="path:data.name"><br> + + + + </div> + </monster-tabs> + + </monster-dataset> + + </main> + </body> + </html> diff --git a/development/issues/open/224.mjs b/development/issues/open/224.mjs new file mode 100644 index 000000000..2f14103e9 --- /dev/null +++ b/development/issues/open/224.mjs @@ -0,0 +1,23 @@ + /** + * @file development/issues/open/224.mjs + * @url https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues/224 + * @description values empty after change + * @issue 224 + */ + import "../../../source/components/style/property.pcss"; + import "../../../source/components/style/color.pcss"; + import "../../../source/components/style/normalize.pcss"; + import "../../../source/components/style/typography.pcss"; + import "../../../source/components/style/form.pcss"; + + import "../../../source/components/datatable/datasource/rest.mjs"; + import "../../../source/components/datatable/save-button.mjs"; + import "../../../source/components/form/form.mjs"; + import "../../../source/components/form/field-set.mjs"; + import "../../../source/components/form/select.mjs"; + import "../../../source/components/layout/tabs.mjs"; + import "../../../source/components/form/context-help.mjs"; + import "../../../source/components/form/context-error.mjs"; + + + -- GitLab