Fields marked as "Integer" are accepting nom-numerical values

Created on 15 February 2023, over 1 year ago
Updated 16 February 2023, over 1 year ago

Problem/Motivation

Inside of the form there are few fields marked in the description (help text) as integer, for example: Start at, Animation speed, Slideshow speed, Init delay, itemWidth, Item margin, Min items, Max items, Move. This is one help text of example:

Integer: Set the speed of animations, in milliseconds

but if we put any string with letters and/or special chars are accepting without validation

Steps to reproduce

  1. Open the form
  2. Field the fields Start at, Animation speed, Slideshow speed, Init delay, itemWidth, Item margin, Min items, Max items, Move without numbers, only letters and special chars
  3. Save
  4. It'll save
  5. Expected: We need to validate

Proposed resolution

We can update the field type to "number" and with this only numbers will be allowed

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