I created a form in Dash where the user inputs data and can store it in a database. Now I’d like to display an error message when the user tries to insert invalid data. What would be the best way to do this?
Some options I’m looking at:
- Abuse the ConfirmDialog component for this.
- Create a div. (The div would have to be removed again after x seconds)
- Use Flask Flashing (It seems this is not supported though)
Any advice would be much appreciated!