Skip to content
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

[backport] Date/DateTime inputs #7

Open
f3l1x opened this issue Aug 11, 2017 · 3 comments
Open

[backport] Date/DateTime inputs #7

f3l1x opened this issue Aug 11, 2017 · 3 comments

Comments

@f3l1x
Copy link
Member

f3l1x commented Aug 11, 2017

No description provided.

@MartinMystikJonas
Copy link
Member

MartinMystikJonas commented Jul 23, 2022

Hi, do you plan to backport date/datetime inputs from somewhere? I just tried to find suitable implementation but no existing implementation suited all our needs.

My feature requests:

  • ability to add custom html classes
  • accept multiple formats (when parsing by one format fails go for next, final fall back to universal ISO/ATOM format)
  • pass parameters (like formats, min/max) to data attributes of control (so it can be used to configure JS date picker)
  • allow use by adding extensionMethod to form container but also manual use by calling constructor and use addComponent
  • not locked on particular frontend framwork (like Bootstrap)

None of popular Nette forms date/datetime extensions I checked:

supports all of these features.

So I was thinking I would either create something custom in our internal framework, try to add missing features to one of above mentioned packages, or add it here. What do you think?

@f3l1x
Copy link
Member Author

f3l1x commented Jul 24, 2022

If you can design some Date{Control} I would be more than happy. contributte/forms is ready for your suggestions.

@MartinMystikJonas
Copy link
Member

Ok I will draft something

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

No branches or pull requests

2 participants