And I'm not understanding why we would ever want to save an item with text="" (empty) ... 🤷♂️
Note: this issue is not prioritised because I feel that it only exists because we are doing tags in a non-intuitive way ...
ref: https://github.com/dwyl/mvp/issues/221#issuecomment-1404384279
i.e. the problem of saving a blankitem is a symptom of the root cause: incoherent experience.
And it's 100% my "fault". So I will fix it. 👌
while
testing theMVP
onlocalhost
I keep seeing this emptyitem
(no text)This is the record in the
items
table:I'm reading this line of code:
https://github.com/dwyl/mvp/blob/a95bbdc69b4ee8fe808ca78430ae38e6cbea5c71/lib/app_web/live/app_live.ex#L61
And I'm not understanding why we would ever want to save an
item
withtext=""
(empty) ... 🤷♂️