FlowFuse / FlowFuse/node-red-dashboard

Set input limits for Form widget

Open
#1,263 0 comments 0 reactions 0 assignees View on GitHub
needs-triage type:feature
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Description

Hi,
I need to check (text,number...) input from dashboard users for correctness and syntax. One basic check is the length of the input value(s). I'm using the form widget for this, but it might also be great for the simple text input widget to implement a character limit.
Specifically I'm thinking of a optional value here that is set to a number which indicates how long the input for the form element needs to be. The form can only be submitted when the length is correct.

User could be notified of this, the same way the "required" value is displayed:
![image](https://github.com/user-attachments/assets/fe6ff820-09f7-4937-b7b4-91824e324973)
E.g. "SMSP/SRQP needs to be X characters long"

Thanks a lot! If anything is unclear, pls just let me know.

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.