Skip to content

Conversation

@arteria32
Copy link
Contributor

@arteria32 arteria32 commented Oct 10, 2025

Problem is described in #326

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.


if (isNil(value)) {
if (spec.defaultValue) {
if (!(isNil(spec.defaultValue) || spec.defaultValue === '')) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

In what cases do you add a check for an empty string?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to minimally change current behavior. And, as it seems to me, in most cases it's empty string = undefined.

@arteria32 arteria32 merged commit 537d5f6 into gravity-ui:main Oct 23, 2025
4 checks passed
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.

3 participants