GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Array Notation · Issue #69 · forms-angular/forms-angular

Array Notation #69

New issue
Copy link
New issue
Copy link
Open
Open
Array Notation#69
Copy link

Description

@PseudoCorps
PseudoCorps
opened on Jul 3, 2015
Issue body actions

I think attributes like hidden and secure don't work with array notation:

comments:[ { type: Schema.Types.ObjectId, ref: 'Comment', form: {hidden: true}} ],

But do work with

comments:{ type: [Schema.Types.ObjectId], ref: 'Comment', form: {hidden: true}},

Activity

  1. mchapman commented on Jul 31, 2015

    @mchapman
    mchapman
    on Jul 31, 2015
    Member
    More actions

    First of all thanks for your interest in forms-angular and for pointing this out.

    I have spent a little while trying to fix this, but everything I have done so far either ends up breaking something else or is so kludgy I don't like it. For the moment I am just going to leave it as is - as you point out it works fine in the latter case. If anyone wants to submit a PR that would be great...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.