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

WIP If the model contains errors, display inline errors in jsoneditor #60

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Jan 31, 2024

  1. If the model contains errors, configure the 'show_editor' option in t…

    …he JSON editor to 'always' in order to exhibit inline errors upon initialization.
    gbisurgi committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    124bb87 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Configuration menu
    Copy the full SHA
    366d19d View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Added ClientSideJsonValidator. This validator will be use when 'enabl…

    …eClientValidation' => true.
    
    It' s job is to collect and display inline validation errors within the json-editor form.
    It also remove the added ".has-error" classes that Yii-2 adds everywhere in the json-editor indiscriminately.
    gbisurgi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    7668207 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2654767 View commit details
    Browse the repository at this point in the history
  3. Configured template option for json-editor based fields to reduce red…

    …undant error messages
    gbisurgi committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    b8b0695 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f33fbf View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Added extra check

    gbisurgi committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    e3c41e9 View commit details
    Browse the repository at this point in the history