react-toolkit icon indicating copy to clipboard operation
react-toolkit copied to clipboard

[Bug] NumberInput -> FieldInput classModifier never set

Open th0was14 opened this issue 1 year ago • 0 comments

Issue and Steps to Reproduce

On component NumberInput, i tried to set the classModifier of FieldInput component, but i never succeed.

Versions

version: 2.2.0

Screenshots

image

Expected

WIth useInputClassModifier, i expect the classModifier of FieldInput was set with variable inputFieldClassModifier.

Actual

The classModifier of FieldInput is empty and never set with variable inputFieldClassModifier.

Additional Details

I tried to debug with console log, but somehow the classModifier is never set. In NumberInput, if we change the FieldInput component with CustomFieldInput (with exact same code of FIeldInput), the classModifier is set. it's really weird.

image

  • Installed packages

th0was14 avatar Feb 22 '24 09:02 th0was14