Skip to content
Snippets Groups Projects
Commit b3861272 authored by Martin Massenberg's avatar Martin Massenberg
Browse files

Merge branch '20240621' into 'master'

20240621

See merge request oss/libraries/javascript/monster!55
parents 87608fd9 76cc271b
No related branches found
No related tags found
No related merge requests found
# Changelog # 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 ## [3.72.0] - 2024-06-27
......
<!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>
/**
* @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";
<!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>
/**
* @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";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment