Hi guys. I noticed there is a problem with Android 8.0 Oreo and edittexts. It crashes on these two parts:
EditText3.Text = EditText3.Text.Replace(".","") line in this code:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
and EditText3.Text = Old line in this code
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Any idea what could be wrong? It works perfectly on every other android.
			
			EditText3.Text = EditText3.Text.Replace(".","") line in this code:
			
				B4X:
			
		
		
		If New.Contains(".") Then
        EditText3.Text = EditText3.Text.Replace(".","")
    End Ifand EditText3.Text = Old line in this code
			
				B4X:
			
		
		
		If New.Length > 12 Then
    EditText3.Text = Old
    EditText3.SelectionStart = EditText3.Text.Length
    End IfAny idea what could be wrong? It works perfectly on every other android.
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		