Skip to content

Update date time input topic for React 19 #1569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: vnext
Choose a base branch
from

Conversation

IMinchev64
Copy link
Contributor

No description provided.

}
const dateTimeInputRef = useRef<IgrDateTimeInput>(null);

dateTimeInputRef.current.value = new Date();
Copy link
Member

Choose a reason for hiding this comment

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

Isnt it better to show it like this:
<IgrDateTimeInput value={someValue}></IgrDateTimeInput>

}
const dateTimeInputRef = useRef<IgrDateTimeInput>(null);

dateTimeInputRef.current.min = new Date(2021, 0, 1);
Copy link
Member

Choose a reason for hiding this comment

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

Here too? We are showing two snippets, maybe make it 1 and add both min and max as an input to the element. Also, remove the ref if not used

@IMinchev64 IMinchev64 requested a review from mddragnev June 3, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: awaiting-test ❌ PR ready for testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants