pgadmin 4.9 'int' object has no attribute 'replace' with editing text fields
This was a bug in pgAdmin4 when updating table and PK is of integer type.
It is fixed now and it will be available in next release, meanwhile you can use nightly build as a workaround.
Download: https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/2019-07-01/
---- UPDATE ----
pgAdmin 4 v4.10 is released with the fix.