Questions
anonymousasked 4 months ago
When text field value is null, i got error, i need to add default text value to fix this, how do i do that?
2

1 Answers

Accepted
codegenlabcodegenlabanswered 4 months ago
You can assign a default value to text field like this,
Text(your_value_string!=null?your_value_string:'Default String')
ex:
Text(email!=null?email:'codegenlab@gmail.com'),
1