# Is there a way to specify a min and max for settings.yml for a plugin?

**URL:** <https://meta.discourse.org/t/is-there-a-way-to-specify-a-min-and-max-for-settings-yml-for-a-plugin/259676>\
**Category:** Development\
**Created:** [March 28, 2023, 10:35am UTC](https://meta.discourse.org/t/is-there-a-way-to-specify-a-min-and-max-for-settings-yml-for-a-plugin/259676 "2023-03-28T10:35:22Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bstgmr02](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@bstgmr02](https://meta.discourse.org/u/bstgmr02)\
**Post date:** [March 29, 2023, 2:12pm UTC](https://meta.discourse.org/t/is-there-a-way-to-specify-a-min-and-max-for-settings-yml-for-a-plugin/259676/6 "2023-03-29T14:12:43Z")

</div>

Weird thing is that it resets the value to back to `0.0` when I enter an invalid number but only upon refreshing. But no errors are appearing on the UI side either way.

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-specify-a-min-and-max-for-settings-yml-for-a-plugin/259676)._
