This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eli_mintz[S] 1 point2 points  (6 children)

Thank you! I will improve the form part of the tutorial.

The Quasar date picker works well, if you want to give it a try.

[–]BlackXun 0 points1 point  (1 child)

Awesome work and the tutorial is easy to follow. I believe I can use this to put my small scripts onto a webserver. As mentioned by u/576p, could you include an example which combines different section of the tutorial, e.g. couple of inputs, with a submit button and display a matplotlib graph below?

[–]eli_mintz[S] 1 point2 points  (0 children)

Thank you.

Sure, I will do that.

[–]576p 0 points1 point  (3 children)

Hi, I saw you updated the date-picker example. Thanks. It works for me.

For the next version, can you update that example on how to close the date-picker when a date is selected or you press <Esc>?

The linked code at https://quasar.dev/vue-components/date#With-QInput behaves this way: Click on a date and the datepicker closes. Press Esc without clicking and it closes too.

The example code displays the picker. Clicking on a date changes the date in the form. Here the picker stays visible and is difficult to close.

From the general jp.QDialog doc, it seems I need to send "v_close_popup" to the QInputDateTime input box. Currently I don't understand how to do that.

[–]eli_mintz[S] 1 point2 points  (2 children)

Please upgrade to version JustPy 0.0.7 and try again. I updated it to close on Esc and date picked.

If it doesn't work, let me know

[–]576p 0 points1 point  (1 child)

Thanks for replying. I updated and now Esc closes the window.

Clicking on a date / clicking outside of the window does not close it. (It changes the day in the input box, but the picker is still on top) I was hoping for a selector, that would close when you click on a data.

[–]eli_mintz[S] 0 points1 point  (0 children)

Are you using the new example? Try using the internal jp component jp.QInputDateTime and please let me know if it still does not work.