mirror of
https://github.com/discourse/discourse.git
synced 2024-12-06 04:13:39 +08:00
8de869630f
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>
|