mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 02:28:40 +08:00

Why this change? In our schema, we support the `min_length` and `max_length` validation rules like so: ``` some_objects_setting type: objects schema: name: some_object properties: title: type: string validations: min_length: 1 max_length: 10 ``` While the validations used to validate the objects on the server side, we should also add client side validation for better UX.
6 lines
101 B
Plaintext
6 lines
101 B
Plaintext
<template>
|
|
<div class="schema-field__input-description">
|
|
{{@description}}
|
|
</div>
|
|
</template>
|