opensourceautomation / Open-Source-Automation

Open Source Automation is a home and commercial automation engine
www.opensourceautomation.com
GNU Lesser General Public License v3.0
97 stars 62 forks source link

New DataTypes #361

Open VaughnRupp opened 7 years ago

VaughnRupp commented 7 years ago

New data types should be considered to add more custom validation and formatting.

1 Phone Number 2 Email

Validation coded to support them in the Web UI and possibly object_property_set proc

VaughnRupp commented 7 years ago

Currency maybe too. Which would save as a float, but could format neatly then.

KHerron commented 7 years ago

Yes, thank you. The validation code is already there for the float type.

Also add types for: URL

KHerron commented 7 years ago

Oh, and maybe a Percent. Just like currency, it would save as a float, but could be formatted with a percent sign.

KHerron commented 6 years ago

I've got another data type we need to consider: IMAGE It appears Images are current set to FILE.

Which is OK, but we could do more specific task if we separated Image from File since the image is actually inside the database.

Also in my Exporting of Screens, It would be nice to look for IMAGE type properties other than FILE then determine if it is actually a file or an image.

KHerron commented 6 years ago

New Data Types have been added and committed