pallets-eco / flask-admin

Simple and extensible administrative interface framework for Flask
https://flask-admin.readthedocs.io
BSD 3-Clause "New" or "Revised" License
5.69k stars 1.56k forks source link

Add new field and remove other when selecting element #2384

Closed Fundi1330 closed 8 months ago

Fundi1330 commented 9 months ago

The form has a select field called type. It has 2 choices: string and an int. When Admin selects float if there is a field called name it removes and adds another field called age and vice versa. It must be dynamic maybe using Ajax