Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required and optional model fields #323

Open
dlqqq opened this issue Aug 7, 2023 · 1 comment
Open

Required and optional model fields #323

dlqqq opened this issue Aug 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@dlqqq
Copy link
Member

dlqqq commented Aug 7, 2023

Problem

Some model fields are required and other are optional. As of #322, we are explicitly indicating this within the label string itself. Ideally this should be a separate attribute such that the UI can do both client-side validation and formatting.

Proposed Solution

Add a new attribute required: bool to the Field model.

@dlqqq dlqqq added the enhancement New feature or request label Aug 7, 2023
@zmwaris1
Copy link

zmwaris1 commented Aug 8, 2023

Hi, I would like to work on this issue. Can you please provide some more info and assign it to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants