Dependent/Cascading inputs using Deform

前端 未结 1 990
一向
一向 2021-01-21 10:17

I\'m trying to do a series of dependent inputs with Deform / Colander / Chameleon / Pyramid and can\'t find any examples. e.g.

Dropdown of Country yields->

相关标签:
1条回答
  • 2021-01-21 10:21

    This is so-called master/slave widget issue and it is not possible to solve this in HTML UI without JavaScript.

    I would suggest you render full widgets with Deform and then write the showing/hiding logic in JavaScript.

    A JavaScript / jQuery library a wrote long time ago to address use cases like this.

    0 讨论(0)
提交回复
热议问题