@secondstaxorg/sscomp 1.8.32 → 1.8.33

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
@@ -31531,7 +31531,7 @@ const _jsxFileName$2 = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\compon
31531
31531
  * This component is used to render a number or amount field. The latter is rendered when `currencyFlagPath` prop is supplied.
31532
31532
  */
31533
31533
  const NumberField = (props) => {
31534
- let {label,subtext,errMsg,disabled,required,width,value,currencyFlagPath,onChange,placeholder,readonly} = props;
31534
+ let {label,subtext,errMsg,disabled,required,width,value,currencyFlagPath,onChange,placeholder,readonly ,...rest} = props;
31535
31535
 
31536
31536
  const [borderColor,setBorderColor] = React$1.useState('');
31537
31537
  const [inputVal,setInputVal] = React$1.useState(isNaN(Number(value)) ? '' : value);
@@ -31577,7 +31577,7 @@ const NumberField = (props) => {
31577
31577
  if (isNaN(Number(e.target.value))) return
31578
31578
  onChange(e.target.value);
31579
31579
  setInputVal(e.target.value);
31580
- }, placeholder: placeholder, required: required, __self: undefined, __source: {fileName: _jsxFileName$2, lineNumber: 52}})
31580
+ }, placeholder: placeholder, required: required, ...rest, __self: undefined, __source: {fileName: _jsxFileName$2, lineNumber: 52}})
31581
31581
  )
31582
31582
  , !inputVal && required && err &&
31583
31583
  React$1.createElement(ErrorMessage, {__self: undefined, __source: {fileName: _jsxFileName$2, lineNumber: 60}}