Zero value should not be considered empty on form field validation

Created on 16 April 2024, over 1 year ago

Problem/Motivation

Zero value should not be considered empty on form field validation.

Steps to reproduce

Add form field options to any node field and give one of the options a value of 0.

Proposed resolution

Make sure the validation accepts a possible value of 0. See attached patch proposal.

🐛 Bug report
Status

Active

Version

10.2

Component
Form 

Last updated 2 days ago

Created by

🇺🇸United States uberhacker

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024