Exclude from form

It's possible to exclude some specific properties on an entity from being rendered <entity-form />. The way you'd go about doing this is by using the @noRender() decorator.

There's very little to explain on the subject, so here's an example that shows you how to use it.

Example

import {noRender} from 'aurelia-form';

export class User {
  @type('number')
  @noRender()
  id;

  username;

  password;

  email;
}

results matching ""

    No results matching ""