"Rows" and "Slides Per Row" are numeric fields but they're accepting multiple different values

Created on 16 February 2023, almost 2 years ago

Problem/Motivation

Inside of the form there are two fields called "Rows" and "Slides Per Row" that ideally was to use numbers on this, but the point is that the editors can put any string on these and save without any message or validation

Steps to reproduce

Open the form
Go to fields "Rows" and "Slides Per Row"
Fill with strings and special chars
Save
Result: don't have a validation and the user can save
Expected: Since the field should be numerical we shouldn't allow save non-numerical values

Proposed resolution

Use the fieldtype of FormAPI as number to allow only numbers

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.4

Component

Code

Created by

🇧🇷Brazil renatog Campinas

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

Comments & Activities

Production build 0.71.5 2024