Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow custom constraint validation errors #1023

Merged
merged 18 commits into from
Aug 8, 2024

Commits on Aug 8, 2024

  1. feat(input): allow custom constraint validation errors

    This feature provides a new way to override the browser's default
    constraint validation messages, making `validationMessage` unnecessary.
    blm768 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    dd221e6 View commit details
    Browse the repository at this point in the history
  2. feat(input): make overriding browsers' validation messages easier

    With this change, rather than having to duplicate the browser's native
    validation logic when selecting a custom message, the parent component
    can just react to the validity state that the browser reports.
    blm768 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    18f55a3 View commit details
    Browse the repository at this point in the history
  3. fix(inputs): fix constraint validation for nested controls

    For controls nested inside each other, the parent usually component
    handles constraint validation concerns, so there's no need for the
    children to also handle validation; in fact, they can cause incorrect
    changes to the field state if their validation isn't suppressed. The one
    exception is that the child control which actually owns the "main" input
    element must forward the `invalid` event to the parent control.
    blm768 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    570625b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7cfd4d1 View commit details
    Browse the repository at this point in the history
  5. fix(docs): update docs

    blm768 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    0b56f32 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9bcc478 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e0635f8 View commit details
    Browse the repository at this point in the history
  8. fix(datetimepicker): solve editing directly not working correctly (or…

    …uga-ui#1026)
    
    * fix(picker): solve editing directly not working
    
    * fix(picker): make locale property reactive
    
    * test: update tests
    mlmoravek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    05e392e View commit details
    Browse the repository at this point in the history
  9. docs: fix generated docs

    mlmoravek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    55e3883 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    33f0d7a View commit details
    Browse the repository at this point in the history
  11. feat(input): allow custom constraint validation errors

    This feature provides a new way to override the browser's default
    constraint validation messages, making `validationMessage` unnecessary.
    blm768 authored and mlmoravek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    4f198b6 View commit details
    Browse the repository at this point in the history
  12. feat(input): make overriding browsers' validation messages easier

    With this change, rather than having to duplicate the browser's native
    validation logic when selecting a custom message, the parent component
    can just react to the validity state that the browser reports.
    blm768 authored and mlmoravek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    5eb6d3c View commit details
    Browse the repository at this point in the history
  13. fix(inputs): fix constraint validation for nested controls

    For controls nested inside each other, the parent usually component
    handles constraint validation concerns, so there's no need for the
    children to also handle validation; in fact, they can cause incorrect
    changes to the field state if their validation isn't suppressed. The one
    exception is that the child control which actually owns the "main" input
    element must forward the `invalid` event to the parent control.
    blm768 authored and mlmoravek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    ae2b8f0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    62389eb View commit details
    Browse the repository at this point in the history
  15. fix(docs): update docs

    blm768 authored and mlmoravek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    5c8fc7f View commit details
    Browse the repository at this point in the history
  16. docs: fix generated docs

    mlmoravek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    5b8a761 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    196756e View commit details
    Browse the repository at this point in the history
  18. Merge branch 'custom-constraint-validation' of https://github.com/blm…

    …768/oruga into custom-constraint-validation
    mlmoravek committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    8d36756 View commit details
    Browse the repository at this point in the history