Skip to content

Conversation

@niko-exo
Copy link

@niko-exo niko-exo commented Jan 5, 2026

ref: https://app.clickup.com/t/86b7h2jgh

86b7h2jgh - Fix: add asterisks to mandatory fields on add new item form

Changelog

  • Add asterisks to i18n strings.
  • Add require yup validation to mandatory fields.

Links

86b7h2jgh - Add asterisks to mandatory fields

Evidence

2026-01-05_10-16-31.mp4

"standard_rate": "Standard rate",
"onsite_rate": "On site rate",
"default_quantity": "Default quantity",
"name": "Name *",
Copy link

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(
Copy link

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()
Copy link

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()

Copy link

@smarcet smarcet left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants