@linzjs/step-ag-grid 7.11.5 → 7.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/utils/bearing.ts
CHANGED
|
@@ -32,7 +32,7 @@ export const bearingStringValidator = (
|
|
|
32
32
|
value = value.trim();
|
|
33
33
|
if (value === "") return null;
|
|
34
34
|
const match = value.match(validMaskForDmsBearing);
|
|
35
|
-
if (!match) return "Bearing must be a
|
|
35
|
+
if (!match) return "Bearing must be a number in D.MMSSS format";
|
|
36
36
|
const decimalPart = match[4];
|
|
37
37
|
if (decimalPart != null && decimalPart.length > 5) {
|
|
38
38
|
return "Bearing has a maximum of 5 decimal places";
|