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

Add a widget to set start/end times #31

Open
AkshayAgarwal007 opened this issue Aug 12, 2017 · 4 comments
Open

Add a widget to set start/end times #31

AkshayAgarwal007 opened this issue Aug 12, 2017 · 4 comments
Labels

Comments

@AkshayAgarwal007
Copy link
Contributor

No description provided.

@scottmc scottmc added hacktoberfest Issues proposed to Hacktoberfest participants task labels Oct 15, 2021
@scottmc
Copy link
Member

scottmc commented Oct 15, 2021

By DataTimeEdit I assume it'd be something like what the HTML date/time control does?
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_datetime-local

Until a control is created for Haiku this could be done with String input, with lots of data entry validation of course.

@pulkomandy
Copy link
Member

We have a BCalendarView that can be used for picking dates, I think?

It could be coupled with a BMenuField to make it more similar to the typical implementation of DateTimeEdit. In fact, that's how DateTimeEdit is implemented in WebKit.

Also, should we really suggest issues for hacktoberfest when there is not even a description in them? Surely that will not help participants much?

@scottmc scottmc removed the hacktoberfest Issues proposed to Hacktoberfest participants label Oct 16, 2021
@scottmc
Copy link
Member

scottmc commented Oct 16, 2021

Here's how the Event manager has the date and time entries right now. The date pops up a calendar. The time just a text box. If a Haiku control is made it should be able to place bounds on the entries. Entering a time of 21 makes no sense. It should coerce the value to be "00:21", or "21:00", with valid possible values being 00:00 thru 23:59.

haiku-date-control

(I have my fonts set to size 24.)

@humdingerb humdingerb changed the title Add a temporary fix for selecting start/end datetime until a DateTimeEdit widget is implemented. Add a widget to set start/end times May 25, 2022
@humdingerb
Copy link
Member

I adjusted the title. A widget to set the date is alredy in place.

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

No branches or pull requests

4 participants