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

Created on 16 February 2023, over 1 year 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.69.0 2024