Popup Width allowing non-numerical chars

Created on 4 February 2023, almost 2 years ago
Updated 5 February 2023, almost 2 years ago

Problem/Motivation

The Popup Width is used to set the width of Webform popup, and it worked fine. But currently the editor is allowed to insert any type os values like letters and special chars, that is an invalid width

Steps to reproduce

Inside of Popup settings
Go to Popup Width
Put and letters and special chars
Save
Result: Is saving with success even with invalid value

Proposed resolution

I think we can validate if is an invalid value. Or just change the field type to number that will prevent letters and special chars by default

Obs

I tested in the front-end and currently it's impacting the FE. So I'd say that is a fix for CMS editors

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