TextField as cell renderer cannot delete input content
It works well on emulator, however when I test on real device, there is the problem.
Tested on Samsung SM 9550 and redmi K40.
PlutoColumn(
title: 'column3',
field: 'column3',
type: PlutoColumnType.text(),
renderer: (context) {
return TextField();
},
),
https://user-images.githubusercontent.com/18045999/149501618-6befca8f-2f8e-4b9d-a26b-5ca13ba07ca2.mp4
Doesn't that issue happen with pure flutter and not with PlutoGrid ?
Yes, it only happens when I use TextField as renderer. Also, if content come up with EN keyboard recommendations, then content can be deleted
https://user-images.githubusercontent.com/18045999/149721352-361d4917-67ec-4e19-b432-70a5ef9cf85e.mp4
.
Unfortunately I develop on Windows and my actual mobile device is an iPhone. I can't test it on a real device.
In the current state, there is no problem if you use the built-in text widget instead of the renderer ?
Then, if you tell me why you use renderer for the built-in text widget, adding that function to the built-in widget is considered the first solution. (If your function is universal, I'll make sure to add it in the next version.)
Or please suggest another solution.
build-in text widget has no problem on input, but I do find it has some focus problem on very rare situations which I cannot reproduce now, I would check again if I use it correctly. Thank you! 😁
Another reason I'd like to replace it is that current number type has default value 0, cannot accept empty or null value on this type.
My job is migrating website business to mobile device, so I found issues mainly on mobile.😆😆
If you give me a feature or opinion about mobile, I will try to reflect it. I am a web backend developer mainly using nodejs. 😆
If next version can accept cell null value, it would be nice.
Another suggestion is adding TextInputType to text and number type, and TextInputFormatters to allow custom control.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.