Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Supporting Parsers and Formatters #3

@blowsie

Description

@blowsie

With the nature of the inputs being inside a ng-repeat, parsers and formattersto not work with the repeat section type..

eg:

  defaultOptions: function defaultRepeatSectionOptions() {
        return {
          parsers: [
            function(modelValue, viewValue, scope) {
              debugger;
              return JSON.parse(viewValue);
            }
          ],
          formatters: [
            function(modelValue, viewValue, scope) {
              debugger;
              return JSON.stringify(modelValue);
            }
          ],
        }
      }

Any thoughts on how the parsers / formatters could be manually / programatically applied?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions