Skip to content

Conversation

@HaykKirakosyanSoft
Copy link
Collaborator

@HaykKirakosyanSoft HaykKirakosyanSoft commented Nov 5, 2025

@HaykKirakosyanSoft HaykKirakosyanSoft self-assigned this Nov 5, 2025
@GaroGabrielyan GaroGabrielyan linked an issue Nov 7, 2025 that may be closed by this pull request
6 tasks
Copy link
Collaborator

@GaroGabrielyan GaroGabrielyan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CounterField component must accept decimal numbers and 'e'.

// INPUT CONTAINER - Horizontal layout for buttons and text field
&__inputContainer {
display: flex;
align-items: center;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need align-items: center; by default input and button has same height.


// INPUT - Text field for manual value entry
&__input {
flex: 0 0 auto;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need flex: 0 0 auto;?

</div>

{helperText && (
<div className="counterField__infoContainer">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is unnecessary wrapping.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other components using helpertext do it exact same way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat]: New Counter Field component

3 participants