mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-05-19 14:21:28 -04:00
fallback to 0
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
## v0.37.1
|
||||
|
||||
- Minor UI bugfixes:
|
||||
- Fixed `number` field min/max input value normalization ([#7646](https://github.com/pocketbase/pocketbase/issues/7646)).
|
||||
- Fixed `number` field input values normalization ([#7646](https://github.com/pocketbase/pocketbase/issues/7646)).
|
||||
- Allow opening collections in new tab on middle click.
|
||||
- Show collection name in the page title on initial load.
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
ui/dist/index.html
vendored
2
ui/dist/index.html
vendored
@@ -13,7 +13,7 @@
|
||||
|
||||
<!-- prism -->
|
||||
<script src="./libs/prism/prism.js" data-manual></script>
|
||||
<script type="module" crossorigin src="./assets/index-BMswcwK4.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index-CswPTzfS.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/pocketbase.es-B_4DUNUU.js">
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-BLIFQr7L.css">
|
||||
</head>
|
||||
|
||||
@@ -24,7 +24,7 @@ export function input(props) {
|
||||
required: () => props.field.required,
|
||||
min: () => props.field.min,
|
||||
max: () => props.field.max,
|
||||
value: () => props.record[props.field.name] || "",
|
||||
value: () => props.record[props.field.name] || 0,
|
||||
oninput: (e) => props.record[props.field.name] = Number(e.target.value),
|
||||
}),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user