Configure minimum/maximum on price field

Created on 3 February 2022, over 2 years ago
Updated 3 January 2024, 6 months ago

Describe your bug or feature request.

When setting a custom price field, a contributor can configure whether positive or both postive and negative prices can be inputed. In some cases a contributor may need to setup more defined boundries of minimum and maximum values allowed, for example when collecting prices to send through an API.

✨ Feature request
Status

Needs work

Version

2.0

Component

Price

Created by

πŸ‡¨πŸ‡­Switzerland Aerzas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡­Switzerland Aerzas

    Thank you for your contribution @heshamkh
    I am not sure this is the right way to do it, to propose another field widget to solve this requirement. They will basically do the same thing in a slightly different way, why not merge them together?
    Could you please also propose an interdiff file when you suggest changes so that we can clearly see what are your additions please?

    I rerolled my initial patch against 8.x-2.37.

  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 9.5.x + Environment: PHP 8.0 & MySQL 5.7
    last update 6 months ago
    790 pass
  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 5.7
    last update 6 months ago
    790 pass
Production build 0.69.0 2024