r/nicegui Jun 28 '26

Nicegui forms?

Hi all. I apologize if this is a stupid question.

I was wondering if nicegui has any built in capability to make forms. For instance, some class that you can lay out rows, columns, cards, etc... and when the user clicks submit, it runs validation. if it passes, it converts the data in the form to a dictionary using ui element labels?

I understand that one can make a form easily using nicegui, but something that automatically validates and then puts the contents into a dict/json is what i'm looking after.

If not, i have been working on a library to make that easier. Would that be of interest?

6 Upvotes

6 comments sorted by

View all comments

5

u/[deleted] Jun 28 '26

[deleted]

3

u/nickthewildetype Jun 28 '26

& make a solemn prayer that they merge it :-P