forked from MapComplete/MapComplete
		
	Small tweaks
This commit is contained in:
		
							parent
							
								
									e8d176cfe4
								
							
						
					
					
						commit
						a144cf17f4
					
				
					 4 changed files with 8 additions and 8 deletions
				
			
		|  | @ -100,7 +100,7 @@ export default class ValidatedTextField { | |||
|             }), | ||||
|         ValidatedTextField.tp( | ||||
|             "direction", | ||||
|             "A geographical direction, in degrees. 0° is north, 90° is east", | ||||
|             "A geographical direction, in degrees. 0° is north, 90° is east, ... Will return a value between 0 (incl) and 360 (excl)", | ||||
|             (str) => { | ||||
|                 str = "" + str; | ||||
|                 return str !== undefined && str.indexOf(".") < 0 && !isNaN(Number(str)) && Number(str) > 0 && Number(str) <= 360 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue