diff --git a/CHANGELOG.md b/CHANGELOG.md index 309c5875056d0a4ce8e695a2f514b94ff433d55f..805f6d8c04f470bd14ae1bf60867bd7e37204c61 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 0000000000000000000000000000000000000000..6cfe30284a0ebee8e6272f1ab703e388030313e9 --- /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 0000000000000000000000000000000000000000..4795cda052e7568903b3e365583c1cc542d097ef --- /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 0000000000000000000000000000000000000000..2431b9c207308b9174b23b42312b9f989ec794b4 --- /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 0000000000000000000000000000000000000000..2f14103e98c2e934ae0e07b94269604f950ec5a6 --- /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"; + + +