docs: add missing New badges

This commit is contained in:
Benjamin Canac
2023-11-22 15:15:28 +01:00
parent ec58948153
commit dd55b4f602
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ props:
---
::
### Size
### Size :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
Use the `size` prop to change the size of the Toggle.

View File

@@ -163,7 +163,7 @@ code: >-
This will only work with form elements that support the `size` prop.
::
### Eager Validation
### Eager Validation :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
By default, validation is only triggered after the initial `blur` event. This is to prevent the form from being validated as the user is typing. You can override this behavior by setting the `eager-validation` prop to `true`