feat(18-01): add the cabana money field (task 1)
- type: money on fields.yaml with currency or currencyFrom, scale (2..4, default 4) and max; boot fails naming the field on two sources, none, a bad scale or max, a column that is not a string or a Scanner/Valuer, or a currencyFrom that is not a string column - a save answers 422 money.invalid, money.too_precise or money.too_large on the field and fills the accepted decimal string unchanged; the same check runs on controller, settings and relation child saves - backend::lang money.* phrases in en and pl - admin SPA: money.ts (parseMoneyInput, trimMoneyDisplay, formatMoney over Intl with the string itself), MoneyField.vue with the currency suffix, blur validation and the read-only box, preview through the control, the field scope on PreviewView; regenerated OpenAPI and TS types, rebuilt modules/boardwalk/dist - acme.payments fixture with TestMoneyFieldCompile and the Docker TestMoneyFieldSmoke; forms.md Money section and cabana README
This commit is contained in:
File diff suppressed because one or more lines are too long
11
modules/boardwalk/dist/assets/index-BPd1k6k8.js
vendored
Normal file
11
modules/boardwalk/dist/assets/index-BPd1k6k8.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
modules/boardwalk/dist/assets/index-BxyrlyKr.css
vendored
Normal file
1
modules/boardwalk/dist/assets/index-BxyrlyKr.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
11
modules/boardwalk/dist/assets/index-DzfknjJw.js
vendored
11
modules/boardwalk/dist/assets/index-DzfknjJw.js
vendored
File diff suppressed because one or more lines are too long
4
modules/boardwalk/dist/index.html
vendored
4
modules/boardwalk/dist/index.html
vendored
@@ -7,8 +7,8 @@
|
||||
<meta name="summer-admin-base" content="__SUMMER_ADMIN_BASE__" />
|
||||
<link rel="icon" href="./favicon.ico" sizes="48x48" />
|
||||
<title>SummerCMS</title>
|
||||
<script type="module" crossorigin src="./assets/index-DzfknjJw.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-CmttTOWN.css">
|
||||
<script type="module" crossorigin src="./assets/index-BPd1k6k8.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-BxyrlyKr.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user