kgiszewski / uWestFest

Slides and Code from our uWestFest talk on Property Editors
7 stars 14 forks source link

Updated the url typedata input to have input type 'url' #49

Open Lachlann opened 7 years ago

Lachlann commented 7 years ago

A simple change to the angular view to update the input type of the external URL input to be 'url' this adds validation to the URL entered to ensure that the URL is properly formatted and includes either http:// or https://

As I am typing this I can foresee this as a breaking change for users that may be using this property to pick a local file not in the media section or using the input to enter something that is not a valid URL. Perhaps a better solution would be to enable this as an option in the picker settings?

Best L