Open Nicholas-Westby opened 8 years ago
If the aliases should be camel case, I used a filter in my package Color Palettes that works similar to when you enter property names in document type editor in core.
Thanks for the tip. That is a nice package. I'll have to use it on my next project rather than the built-in color picker.
And I'm not planning to camel case aliases (I don't see any need to, as I don't plan on mapping form fields to C# properties or anything of that sort). However, I would definitely not mind seeing how you've coordinated multiple fields to prepopulate them. I'll put a link here for my own reference later: https://github.com/bjarnef/color-palettes
Okay, but you could also use a filter to omit or replace some characters on client side while typing, e.g. remove some special characters and remove white spaces :) But it would be useful if some filters were included in core besides the ones that comes with AngularJS, e.g. a trim filter.
I don't plan on replacing any special characters or whitespace for the field aliases, but thanks for the info 👍
For example, when typing the name for a newly added field, automatically populate the field alias and field label based on what the user is typing into the name field.
Once a save occurs or once the user manually changes the automatically generated properties, discontinue automatically modifying those properties.
This will help speed up form creation, as many users will not modify the alias or label properties.