@mcurros2/microm 1.1.289-0 → 1.1.291-0

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/dist/index.js CHANGED
@@ -5781,7 +5781,7 @@ const $d1bc0d6cc2473c1a$var$defaultProps = {
5781
5781
  validationContainer: (0, $b4te3$mantinecore.Group)
5782
5782
  };
5783
5783
  const $d1bc0d6cc2473c1a$export$63c5fa0b2fdccd2e = /*#__PURE__*/ (0, $b4te3$react.forwardRef)(function NumberField(props, ref) {
5784
- const { column: column, entityForm: entityForm, validate: validate, validationContainer: validationContainer, required: required, requiredMessage: requiredMessage, readOnly: readOnly, label: label, placeholder: placeholder, description: description, withAsterisk: withAsterisk, autoFocus: autoFocus, maxWidth: maxWidth, minWidth: minWidth, maw: maw, miw: miw, ...others } = (0, $b4te3$mantinecore.useComponentDefaultProps)('NumberField', $d1bc0d6cc2473c1a$var$defaultProps, props);
5784
+ const { column: column, entityForm: entityForm, validate: validate, validationContainer: validationContainer, required: required, requiredMessage: requiredMessage, readOnly: readOnly, label: label, placeholder: placeholder, description: description, withAsterisk: withAsterisk, autoFocus: autoFocus, maxWidth: maxWidth, minWidth: minWidth, maw: maw, miw: miw, precision: precision, ...others } = (0, $b4te3$mantinecore.useComponentDefaultProps)('NumberField', $d1bc0d6cc2473c1a$var$defaultProps, props);
5785
5785
  (0, $hAMyt.useFieldConfiguration)({
5786
5786
  entityForm: entityForm,
5787
5787
  column: column,
@@ -5806,7 +5806,7 @@ const $d1bc0d6cc2473c1a$export$63c5fa0b2fdccd2e = /*#__PURE__*/ (0, $b4te3$react
5806
5806
  readOnly: entityForm.formMode === 'view' ? true : readOnly,
5807
5807
  "data-autofocus": autoFocus === 'autoFocusOnAdd' ? add_autofocus : autoFocus === 'autoFocusOnEdit' ? edit_autofocus : autoFocus,
5808
5808
  autoFocus: autoFocus === 'autoFocusOnAdd' ? add_autofocus : autoFocus === 'autoFocusOnEdit' ? edit_autofocus : autoFocus,
5809
- precision: column.scale,
5809
+ precision: precision ?? column.scale,
5810
5810
  maw: maw ?? resolved_maxWidth,
5811
5811
  miw: miw ?? resolved_minWidth,
5812
5812
  ...entityForm.form.getInputProps(column.name),