react-php-v8js icon indicating copy to clipboard operation
react-php-v8js copied to clipboard

Add JSON_NUMERIC_CHECK to convert strings to numerics

Open anwell opened this issue 8 years ago • 5 comments
trafficstars

Many PHP database driver implementations return all query results as strings and do not do any type conversion. This is usually insignificant because PHP will perform implicit type conversions when necessary.

But for React/JSON we need these types to be explicit. The JSON_NUMERIC_CHECK flag for json_encode will detect strings that are like numbers and convert them.

anwell avatar Aug 06 '17 21:08 anwell

Hi I am facing the same issue were you able to solve this if yes plz can you tell me how did you solved it thanks

geekynasir avatar Oct 20 '22 11:10 geekynasir

Try adding forceRenderTabPanel={true} to your <Tabs> component. That fixed a similar issue for me

tekisx avatar Nov 22 '22 01:11 tekisx

forceRenderTabPanel={true} renders all tabs at the same time,. So it solves the rendering issue, but creates another, making the tabs useless.

willnaoosmith avatar Dec 06 '22 13:12 willnaoosmith