Commit a5c75b8
authored
* Fix metadata field value persistence in SupaEmailAuth widget
Implement == operator and hashCode getter in MetaDataField class
Update _SupaEmailAuthState to use MetaDataField.key as map key
Modify related methods to work with new map structure
Ensure consistent hashing and correct retrieval of TextEditingControllers
Resolve issue of losing metadata field values during widget lifecycle
This change prevents the loss of user input in custom metadata fields
by ensuring proper object equality and consistent map key usage.
* Remove unecessary equality operator override and hashcode getter.
1 parent 1d7c37c commit a5c75b8
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
225 | 226 | | |
226 | 227 | | |
227 | 228 | | |
228 | | - | |
| 229 | + | |
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
| |||
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
426 | | - | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
0 commit comments