Skip to content

Commit

Permalink
Item14664: New types should extend STRING
Browse files Browse the repository at this point in the history
This could be a bit fancier and do some js based validations. However
they have to be declared as extending STRING, or the quoting of the
field is broken.
  • Loading branch information
gac410 committed Apr 23, 2018
1 parent 9473b02 commit feecc98
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,15 @@ var Types = {};
Types.EMAILADDRESS = Types.STRING.extend({
});

Types.WEBTOPIC = Types.STRING.extend({
});

Types.WEB = Types.STRING.extend({
});

Types.TOPIC = Types.STRING.extend({
});

// This field is invisible, as it only exists to provide a hook
// for a provideFeedback button. It is disabled as there is no
// point in POSTing it.
Expand Down

0 comments on commit feecc98

Please sign in to comment.