Pyroxenium / Basalt

A UI Framework for CC:Tweaked
MIT License
194 stars 38 forks source link

bug: Textfield newline deletion attempting to index field of nil value #98

Open nekozye opened 1 year ago

nekozye commented 1 year ago

Describe the bug

The textfield object crashes the basalt when new line is added and removed.

To Reproduce

Steps to reproduce the behavior:

  1. create textField
  2. add new line using enter
  3. press backspace

Expected behavior It should remove line, instead of crashing.

Screenshots

bug

Additional context

No matter the surrounding, the textfield fails under the above conditions.

Checklist

Tick the box if you are running the latest version!

gam3rboy7 commented 10 months ago

Issue still exists.