# FR: add more configuration options for inputs in UI form

**URL:** <https://discourse.nodered.org/t/fr-add-more-configuration-options-for-inputs-in-ui-form/58011>\
**Category:** Feature Requests\
**Tags:** node-red-dashboard\
**Created:** [9 February 2022 07:09 UTC](https://discourse.nodered.org/t/fr-add-more-configuration-options-for-inputs-in-ui-form/58011 "2022-02-09T07:09:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sulomus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sulomus/32/49578_2.png) [@Sulomus](https://discourse.nodered.org/u/Sulomus)\
**Post date:** [9 February 2022 07:09 UTC](https://discourse.nodered.org/t/fr-add-more-configuration-options-for-inputs-in-ui-form/58011/1 "2022-02-09T07:09:53Z")

</div>

I have found out that you are not able to set for example `min` and `max` limits to numeric input in `UI_form` ([and other people were asking for this too](https://discourse.nodered.org/t/set-bounds-on-form-number-inputs/3041)). Which makes it harder to use in many cases because it requires to manually check if the limits are not set.

I have found out that also few more thinks could be really nice if they were added. Whole list below:

1. Add the option for numeric input in `UI_form` to set `MAX` and `MIN` limits
2. Option to add custom `onNonValid` messeges.
3. Add option to set custom placeholders

I have been successful in making my own form with the `UI_template` node which gives me some basic idea of how the final code have to look to work. idk if it can help in creating the new features or if it will be useful to anyone:

```auto
    <md-input-container class="md-block">
      <label> Required humidity </label>
      <input 
        type="number" 
        ng-model="humidity" 
        min="48"
        max="52"
        required
        placeholder="Please enter humidity between 48 and 52%"
        oninvalid="this.setCustomValidity('Value must be between 48 and 52%')"
        oninput="this.setCustomValidity('')" --this is required or if the user inputs value again it will still be showing the error message
      />
    </md-input-container>

```

> I would be more then happy to create a pull request and contribute to this project but my knowledge is fairly limited. I have looked into some tutorials on how to create your own nodes but still don't feel confident enough (_but I am more then open to if someone would walk me through it!_ 🙂 ).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [10 April 2022 07:10 UTC](https://discourse.nodered.org/t/fr-add-more-configuration-options-for-inputs-in-ui-form/58011/2 "2022-04-10T07:10:04Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
