Create a Dependent Select Field With Flask-WTF and HTMX

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 15

  • @SsaliJonathan
    @SsaliJonathan ปีที่แล้ว +1

    Great video Anthony

  • @laszlotorhosi1867
    @laszlotorhosi1867 ปีที่แล้ว

    I didn't know you can pass a dictionary for wtforms. I used to manually write the input html with the wtform names and ids when I wanted to use htmx in my flask project. Thanks! This is going to simplify my code.

  • @norbertocammayo2334
    @norbertocammayo2334 ปีที่แล้ว +1

    Interesting, thank you so much. Keep it coming.

  • @dmbrv
    @dmbrv ปีที่แล้ว

    love this combination. great video

  • @alexportugal3986
    @alexportugal3986 7 หลายเดือนก่อน

    Thank you for the video, very informative. I've been trying to replicate it with a QuerySelectMultipleField with not much success. Can this aproach be used too or I would need to use JS?

  • @marsanmarsipan
    @marsanmarsipan ปีที่แล้ว

    Cool video.
    Is there any new way to build a blog with flask in 2023 or is one of your older videos still viable for this?

  • @rrafaelm6
    @rrafaelm6 7 หลายเดือนก่อน

    great video!!
    so, how could i create one or more dependent dropdowns based on a dataframe? id like to filter the second based on first, filter the third based on second... do you know how do that?

  • @bajaroali4097
    @bajaroali4097 ปีที่แล้ว

    Thank you for your amazing work. I have tried to implent this in my learning project but it is not repsonding to the change on the first select to dynamically populate the second select field. It is displaying a 404 response . What should I look at please

  • @立法院很忙
    @立法院很忙 ปีที่แล้ว

    Django + HTMX please!

    • @prettyprinted
      @prettyprinted  ปีที่แล้ว +1

      I'll create a Django version of this video in a couple of days. Also, I'll make other videos with Django and HTMX.

    • @立法院很忙
      @立法院很忙 ปีที่แล้ว

      @@prettyprinted Thanks Anthony! Great content as always. Looking forward to more Django + HTMX or Alpine JS. These seem to be the best combo for beginner starting from the Python side, and have yet to build up enough JS skills, to assemble a reasonable looking front-end together.

  • @charliecode
    @charliecode ปีที่แล้ว

    now you use db.relationship on both, no back_ref here, is it a new way to do one-to-many?