-
Notifications
You must be signed in to change notification settings - Fork 4
86b7h2jgh - Fix: add asterisks to mandatory fields on add new item form #743
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
base: master
Are you sure you want to change the base?
Conversation
| "standard_rate": "Standard rate", | ||
| "onsite_rate": "On site rate", | ||
| "default_quantity": "Default quantity", | ||
| "name": "Name *", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@niko-exo i do thnk that i would be better to update the fields like
https://github.com/fntechgit/summit-admin/blob/cf8c1749e92a5c08b60bf5803010a63e9417e5d0/src/components/mui/formik-inputs/mui-formik-textfield.js to support the required attr instead of change labels
| early_bird_rate: decimalValidation(), | ||
| standard_rate: decimalValidation(), | ||
| onsite_rate: decimalValidation(), | ||
| early_bird_rate: decimalValidation().required( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@niko-exo please rebase against main and review
we already addd required to decimal validation
| onsite_rate: decimalValidation().required( | ||
| T.translate("validation.required") | ||
| ), | ||
| default_quantity: numberValidation() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@niko-exo also please check this
default_quantity: positiveNumberValidation(),
quantity_limit_per_sponsor: positiveNumberValidation(),
quantity_limit_per_show: positiveNumberValidation(),
meta_fields: formMetafieldsValidation()
smarcet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@niko-exo please review comments
ref: https://app.clickup.com/t/86b7h2jgh
86b7h2jgh - Fix: add asterisks to mandatory fields on add new item form
Changelog
Links
86b7h2jgh - Add asterisks to mandatory fields
Evidence
2026-01-05_10-16-31.mp4