feat: pass strikethrough markdown for hint message on field (#5727)

Co-authored-by: Jonas Matos <js.matos@sidi.org.br>
This commit is contained in:
Jonas Matos
2021-09-10 12:12:09 -03:00
committed by GitHub
parent 787e80c60a
commit 27f04484e6
4 changed files with 118 additions and 4 deletions

View File

@ -15,7 +15,7 @@ To see working examples of all of the built-in widgets, try making a 'Kitchen Si
The following options are available on all fields:
- `required`: specify as `false` to make a field optional; defaults to `true`
- `hint`: optionally add helper text directly below a widget. Useful for including instructions. Accepts markdown for bold, italic, and links.
- `hint`: optionally add helper text directly below a widget. Useful for including instructions. Accepts markdown for bold, italic, strikethrough, and links.
- `pattern`: add field validation by specifying a list with a [regex pattern](https://regexr.com/) and an error message; more extensive validation can be achieved with [custom widgets](../custom-widgets/#advanced-field-validation)
- **Example:**
```yaml